BALKANGraph / FamilyTreeJS

Build family tree app with BALKAN FamilyTreeJS library. Family Tree also called a genealogy or a pedigree chart, is a chart representing family relationships in a conventional tree structure.
50 stars 16 forks source link

Disjoint family tree separation #105

Open Sentient2k7 opened 2 months ago

Sentient2k7 commented 2 months ago

I am working on a one-name study and was wondering if it is possible to control the separation between un-joined parts of the tree.

I see options for the spacing between certain node relationships, but not for unconnected trees.

Ideally, I would like them to not overlap at all, but even being able to control the spacing to make them more obviously separate would help.

Thanks

Sentient2k7 commented 2 months ago

tree

ZornitsaPesheva commented 2 months ago

Hi, you can put the family trees in subtrees using hidden stpitd to avoid overlap. Here is a code demo: https://code.balkan.app/family-tree-js--groups#JS