Son and father

hi,

i have this data :
{ key: 3001, n: “P1”, s: “M” , f: 2001 , a: [“C”, “F”, “K”] },
{ key: 2004, n: “P2”, s: “F”, f: 1002, m: 1001, a: [“C”, “F”, “K”] },
{ key: 2003, n: “P3”, s: “M”, f: 1002, m: 1001, a: [“C”, “F”, “K”] },
{ key: 2002, n: “P4”, s: “M”, f: 1002, m: 1001, a: [“C”, “F”, “K”] },
{ key: 2001, n: “P5”, s: “M”, f: 1002, m: 1001, a: [“C”, “F”, “K”] },
{ key: 1002, n: “P6”, s: “M”, ux: 1001, a: [“C”, “F”, “K”] },
{ key: 1001, n: “P7”, s: “F”, vir: 1002, a: [“C”, “F”, “K”] }

P1 is the son of P 5 in the graph but there is no line connecting P1 to P5 … why? where am I wrong?

thanks

Lucio

It looks like you have started from the Genogram sample, http://gojs.net/latest/samples/genogram.html.

That sample requires all parentage to specify both the mother and the father – parthenogenesis is not allowed.

That requirement also supports distinguishing half-siblings from full-siblings.