-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
UI - connect nodes via not shortest line distance #194
Comments
One way that we could do this is to detect edge-node collisions upon connecting a node: https://reactflow.dev/docs/examples/interaction/validation/ Then use a custom edge that calculates its trajectory to avoid node positions: https://reactflow.dev/docs/examples/edges/custom-connectionline/ Seems like a lot of work though 😑 I'm surprised React Flow doesn't have an out-of-the-box solution |
Inquired here: xyflow/xyflow#2790 |
izi-on
added a commit
that referenced
this issue
Jul 26, 2023
…ls-when-node-has-multiple-outputs [nodes] Merge pull request #194 from flojoy-io/reda-fix-tmin-test
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
In order to design an active feedback loop, very often nodes at the end of the chain will need to be connected to a comparator at the beginning. As of right now, the nodes are connected by the shortest curved path possible, but for these applications this creates a connection that clutters the rest of the nodes (see below).
Is it possible to intentionally increase the length of the curve connecting the nodes to move out of the way, maybe drop completely below the nodes like a 'U' shape?
The text was updated successfully, but these errors were encountered: