bkrem / react-d3-tree

:deciduous_tree: React component to create interactive D3 tree graphs
https://bkrem.github.io/react-d3-tree
MIT License
1.04k stars 268 forks source link

Is it possible to make a Family Tree? #437

Open Genarito opened 1 year ago

Genarito commented 1 year ago

Are you reporting a bug, or opening a feature request?

Question | Feature request

Description

I'd like to make a family tree, where a node could have two parent nodes. Is it possible to make that with this library, or it needs to be implemented? Thanks in advance

alexandrtovmach commented 1 year ago

Same question @bkrem could you suggest? Thanks

paulbarr commented 1 year ago

I'm looking for the same thing. As a possible work around could you go from the bottom up? Make the parent the child and then both children will flow into the parent. It feels totally counter to how you would do it, but I think that would work

@bkrem Since I need this capability as well I'd be happy to do a PR, if you are happy to take it

AndreisPurim commented 9 months ago

In this case, I think you'd be satisfied with something akin to this: Erik Gartner's dTree, which works in React.