trongthanh / family-tree

Uses d3.js to draw a descendant family tree
https://int3ractive.com/family-tree
MIT License
46 stars 14 forks source link

Support for multiple spouses #3

Open sabaimran opened 3 years ago

sabaimran commented 3 years ago

Heya! I forked your project and it's working swimmingly -- thanks! One thing I'm trying to work on is adding support for multiple spouses, but haven't been able to get it working yet. Pretty new to d3 haha. Any thoughts on building support for this?

Helpful in the case of divorce + remarriage or polygamous marital structures.

Moanrisy commented 2 years ago

@sabaimran did you find the solution?

sabaimran commented 2 years ago

I did not! I gave up and added the additional spouses as children I believe. Would be great to see this functionality added though!

bobokeke0 commented 2 years ago

this will be very helpful. seems to have been resolved here, https://github.com/AlfonsoML/descendant_tree.git I'm trying to figure out how to map that to this layout