Skip to content

How to add multiple connection points to custom nodes? #1231

Answered by alabastor95
Churakovmike asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

I do not know, if it is still relevant, but you can add multiple node connections to your custom node, by adding multiple handles to the node-descripting vue-file, for example:

<Handle id="a" type="source" :position="Position.Right" style="top: 10px" /> 
<Handle id="b" type="source" :position="Position.Right" style="bottom: 10px; top: auto" />

It is easy to test it on the following example: https://vueflow.dev/examples/nodes/

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@seawavezhangdining
Comment options

Answer selected by bcakmakoglu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants