Skip to content

Connection line between children of previous spouses #26

@callum-conway

Description

@callum-conway

Hey there

I'm experiencing an issue when adding multiple spouses to a family member, any previous children are visually linked only to the previous spouse, instead of both parents. This makes it a bit unclear that the child is related to both the mother and father instead of just the father (as seen in the example below).

Current outcome:
Image

Desired outcome:
Image

heres my sample data

[
  { "id": "Mother", "gender": "female", "spouses": [{ "id": "1st Husband", "type": "divorced" }, { "id": "2nd Husband", "type": "married" }], "siblings": [], "parents": [], "children": [{ "id": "First Child", "type": "blood" }, { "id": "New Baby", "type": "blood" }] },
  { "id": "1st Husband", "spouses": [{ "id": "Mother", "type": "married" }], "children": [{ "id": "First Child", "type": "blood" }], "parents": [], "siblings": [] },
  { "id": "2nd Husband", "gender": "male", "spouses": [{ "id": "Mother", "type": "married" }], "siblings": [], "parents": [], "children": [{ "id": "New Baby", "type": "blood" }] },
  { "id": "First Child", "gender": "male", "spouses": [], "siblings": [{ "id": "New Baby", "type": "half" }], "parents": [{ "id": "Mother", "type": "blood" }, { "id": "1st Husband", "type": "blood" }], "children": [] },
  { "id": "New Baby", "gender": "female", "spouses": [], "siblings": [{ "id": "First Child", "type": "half" }], "parents": [{ "id": "Mother", "type": "blood" }, { "id": "2nd Husband", "type": "blood" }], "children": [] }
]

Is it possible to have the connection line between both parent nodes when there are multiple spouses?
If you could even point me in the direction of where to look in the repository so i could try to tinker around myself, could be helpful. thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions