Automatically rearrange node positions #1039
-
Hello, Is there a function or a way to automatically rearrange nodes so that they don't overlap with each other? Thank you very much ! This project is honestly really awesome. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
No, there is no built-in layouting. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Thank you for this great example. I was struggeling with the *sep. Would be very nice to add the sep definitions to the example in the docs :) |
Beta Was this translation helpful? Give feedback.
No, there is no built-in layouting.
You can use any layouting algorithm you want yourself to get this functionality.
There's stuff like dagrejs, elkjs, d3-hierarchy.
The repo has an example for dagre right here.