Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 7069

Is it possible to write code in genogram for a Child has multiple parents in genogram?

$
0
0

@prameela.dara wrote:

Hi Walter,

I have the one requirement in genogram. Please let me know whether it is possible or not.
In the below diagram, c1 and c2 are twins to both parents p1 and p2. Again, c2 is legally adopted to p3 and p4 parents. Is this logic is possible in genogram?

How can I send data for this logic?

image

I am trying to pass the data for the above logic is given below:

{key: "p1", name: "p1",s:"FM",age:"31",ux:"p2"},
		{key: "p2", name: "p2",s:"F",age:"31"},
		
		{key: "c1", name: "c1",s:"M",f:"p1",m:"p2",birth:1},
		{key: "c2", name: "c2",s:"M",f:"p1",m:"p2",birth:1},
		
		{key: "p3", name: "p3",s:"FM",age:"31",ux:"p4"},
		{key: "p4", name: "p4",s:"M",age:"31"},
		
		{key: "c2", name: "c3",s:"M",m:"p3",f:"p4",la:"p1",birth:4},

for the above data I am getting output as below:

Is it possible to send multiple parents for a particular child key?

Thanks,
Prameela.D

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles