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

Arrows too nearby eachother #60

Closed HolyOne closed 6 months ago

HolyOne commented 1 year ago

I have difficulty to see whose children is who especially when people have multiple children from multiple wifes

These features should be great for a much better UI 1) An option to highlight the node and the arrows from it, 2) An option to Highlight children and wifes. 3) An option to always have a constant distance from past generations. I mean I see some children bellow, wifes stacked top of each other on left and right. It is great for small family tree but not for big trees

ZornitsaPesheva commented 1 year ago

Here are some example for highlight: https://code.balkan.app/family-tree-js/highlight#JS https://code.balkan.app/family-tree-js/highlight-selected-node#JS For 3: Can you show us in a screenshot what you need?

HolyOne commented 1 year ago

wow the samples are just what I was suggesting. For 3, this is much easier to understand

image compared to this

image

Your approach is nicer for smaller families but this kind of ui is better for large families

ZornitsaPesheva commented 1 year ago

You can try with levelSeparation https://code.balkan.app/family-tree-js/distance-between-generations#JS

Or you want all the wives to be on the same level?

HolyOne commented 1 year ago

yes but it just assigns the distance. what I acually tried to achieve was disable vertical stacking of wifes. so each generation would be perfectly horizantal

ZornitsaPesheva commented 1 year ago

No, this is not possible with Family Tree JS.