BasicPrimitives/react

Feature Request: Ability to connect a partner without having children

Closed this issue · 0 comments

Currently, this library enables us to create family trees by displaying how each relative is inter-connected. However, these connections are not visually complete...
When we create a new sibling or parent, we can clearly see in the tree that each of them has been positioned and connected through a line in the graph, though we don't see the same behavior while adding a spouse/partner.
Creating a spouse doesn't place the newly created relative in the corresponding position, nor does it create a line to connect them unless there is already a child created with the corresponding "relative Id" in the JSON file.
This is not desirable in some cases as, for example, we would like to be able to show at all time who is the spouse of whom, regardless of if they have a child in common or not.
In other words, in some instances, this is undesirable; for instance, it's preferable to consistently display spousal relationships, irrespective of whether they share a child.
It would be great, and it is our humble request, to have an option that additionally connects two or more siblings if they happen to be twins.
This is quite similar to the desired connection described and requested by cloetensbrecht