newcat / baklavajs

Graph / node editor in the browser using VueJS
http://baklava.tech
MIT License
1.57k stars 116 forks source link

Can we have bidirectional ports? #395

Closed nikitagirase11 closed 6 months ago

nikitagirase11 commented 7 months ago

Can we have bidirectional ports? it we very annoying that if we 6 input then adding 6 output node will become huge?/ @newcat please help

newcat commented 6 months ago

Internally, inputs and outputs have to be separated as the whole logic is built around that. However, you can use a custom node component to change how interfaces are rendered. I don't think I can implement this in the base library very well since there will be a ton of edge cases that'd need to be handled.