jerosoler / Drawflow

Simple flow library 🖥️🖱️
https://jerosoler.github.io/Drawflow/
MIT License
4.42k stars 714 forks source link

How to change wirings runtime #812

Open applibs opened 5 months ago

applibs commented 5 months ago

Please help.

How to change wirings by runtime when my node has dynamic selects and inputs, visible/invisible by conditions. When I fill inputs/selects then box height changed and inputs/outputs positions changed too, but wirings are on the same positions. How to rearange wires by runtime?

jerosoler commented 5 months ago

View function updateConnectionNodes(id)

Example use:

editor.updateConnectionNodes('node-5');