PeWu / topola

Topola – online genealogy visualization
Apache License 2.0
92 stars 27 forks source link

Can't load all the persons on the page #64

Open pringlzkur opened 4 months ago

pringlzkur commented 4 months ago

✋ Hi @TeWu ! I was impressed by your lib and work, that's why selected it for my tries to draw my family tree. But after several hours of manual building the config, I realized, that not all the persons could be visible. I tried all variations of the charts, and realized that I can't show all the persons. After some testing I found that if you have KinshipChart - it looks like most of them are visible, but the ancestor (first line on the top) could be only one (or with spouse), not several ancestors in the line. Thus anyway my research was failed.

Do we have any ability to show ALL the persons on the page? Any setting/property/config?

Thanks in advance!

pringlzkur commented 4 months ago

I saw these links which were related to my topic, but there are no solution, last one is 2022, do we have any abilities in d3 today to extend the chart to draw all sub-trees/ all persons?

https://github.com/PeWu/topola/issues/1

https://github.com/PeWu/topola/issues/40

PeWu commented 4 months ago

Hi @pringlzkur, The main problem with drawing ALL individuals is finding the right algorithm for laying out the data. In #1 I described the algorithm used in the "All relatives" chart. The implementation in d3 is a secondary issue once you know what you want to implement.