Could you please describe in more detail what the problem is? The first screenshot seems to be showing a different family graph than the second one, so I do not know what you are expecting.
Did you start with the Genogram sample of GoJS version 2.3?
Hi @walter,
in the first image, i processed it with genogram. I want the line of Richard 1 to be close to the mother Alice, similarly Richard 2 to be close to the mother Alice 1, not start at the midpoint.
I want this because I want the relationship between it to look more like picture 2.
However, that doesn’t address the issue that you are bringing up. Thanks for explaining it better. But how is the layout to know which parent the child should be near?
Is that parameter on a person? Not on a marriage link?
Assuming it’s on a person, if that person has other marriages from which that person is not divorced, isn’t that ambiguous/contradictory? What happens when both spouses have that “divorced” flag?
But if it’s supposed to be on a marriage link, the data schema used by setupDiagram does not have a separate data object for marriage links, so there’s no place to put that property. Even if there were such a data object for that kind of link, it would be ambiguous, since it wouldn’t be clear which spouse the children should be near.
Any other information in the model that might affect the genogram layout?
near biological mother (case 1 husband has multiple wife) or biological father (case 1 wife has multiple husband), this good idea.Do you have a solution? Help me please