Can Link Type or Trees to have a cycle ? #1419
-
|
Hi, I wanted to know when using a Link Type or Trees is it possible to have a cycle within the Tree/graphe ? example: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Hey @Jasminou 👋 thanks for checking out I think what you're describing is more of a true |
Beta Was this translation helpful? Give feedback.

Hey @Jasminou 👋 thanks for checking out
visx. The@visx/hierarchypackage largely depends ond3-hierarchy, and all of the hierarchical layouts available in d3 require a hierarchy structure where every node has a single parent.I think what you're describing is more of a true
network, not a tree/hierarchy. So@visx/networkwould likely be what you need ... however we haven't ported over any of the d3 network layouts (which are harder to get right inreact) so it may not be useful for that case.