Replies: 2 comments
-
By default VueFlow uses What you can do: <Handle
id="left"
type="source"
...
/>
<Handle
id="right"
type="source"
...
/> Now all you need to do is specify what handle id you want the edge to connect to: {
id: 'e1->2',
source: '1',
target: '2',
// assuming you want to do an edge from a right side handle to another right side handle
sourceHandle: 'right',
targetHandle: 'right',
} |
Beta Was this translation helpful? Give feedback.
-
Thank you for your response, I managed it using the node positions to decide where to connect the edge
|
Beta Was this translation helpful? Give feedback.
-
Thank you for this nice library.
I am building a diagram that have multiple connections between nodes, and ciruclar connections.
So I need more flexible handles, where the same handle can be target or source, to avoid things like that:
If it is possible, I would like to know how to create a custom hybrid handle with a custom position.
Thank you :D
Beta Was this translation helpful? Give feedback.
All reactions