Edge type that avoids collision with nodes #2806
Replies: 4 comments
-
I suppose that one way that this could be done is to detect edge-node collisions upon connecting a node: Then use a custom edge that calculates its trajectory to avoid node positions: Seems like a lot of work though 😑 Other suggestions are very welcome. Here's another example of where it would be nice to not have any edge and node overlap: |
Beta Was this translation helpful? Give feedback.
-
Hey @jackparmer ! We will probably not provide an edge algorithm in the near future (maybe never). There are too many different use cases and custom requirements. Possible solutions:
Related / helpful package: https://github.com/tisoap/react-flow-smart-edge |
Beta Was this translation helpful? Give feedback.
-
Hi @jackparmer, Can I ask if you were able to find a solution for this? I tried but I could not achieve completely the behavior that I want |
Beta Was this translation helpful? Give feedback.
-
Add me to the list of people who tried but not succeeded in this. If anyone has found solution would appreciate sharing it |
Beta Was this translation helpful? Give feedback.
-
Please describe the feature that you want to propose
For feedback loops like the below, it might be convenient to have an out-of-the-box edge type that calculates its path based on avoiding node positions
Incredible library BTW :)
Beta Was this translation helpful? Give feedback.
All reactions