jerosoler / Drawflow

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

update connection lines from one node to another #132

Closed chakanish closed 3 years ago

chakanish commented 3 years ago

Hello,

Hope you are doing good.

I am back with another question 😃

I am able to add nodes and create connections between them. However one feature I am not able to find. If I have 3 nodes and 2 of them are connected. I want to be able to click and drag the route line from one node to the other.

Example:: image

In the above image if I want to move the connecting line from the node to the right to the node on the left. How do I do it? Is this feature available in the library?

Regards, Anish

jerosoler commented 3 years ago

Hello,

That function is not available. You have to delete the line and create a new line.

Jero

chakanish commented 3 years ago

ok. are you planning to add this feature anytime soon?

Also is there an option to restrict an output to have only one link coming from it?

jerosoler commented 3 years ago

Hello @chakanish

For force only one output view: https://github.com/jerosoler/Drawflow/issues/35#issuecomment-691876863

chakanish commented 3 years ago

thanks. it worked!!!