jerosoler / Drawflow

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

sometimes button is not connected properly with the box #730

Open nikultaka opened 1 year ago

nikultaka commented 1 year ago

here i have attached one doc, where there are 2 scenarios with the image, the first image where there are 3 button,where line is connected properly, i have added json there, and for the 2nd image you will notice that in the second button that line is not connected properly, i have attached json for it as well, can you check that json and tell me why it is not working correctly ? any help will be really appreciated, here is link for that doc https://docs.google.com/document/d/16VGmdBZXTdv_IVBy2MPuHIoVh0zei02ZLJ5DVHefQ90/edit?usp=sharing

jerosoler commented 1 year ago

In the first image I see that the connectors have a gray color.

In the second image a red connector.

By default drawflow does not treat connected outputs. You are probably adding a class.

Surely when you do an import you have to re-add those connected classes.

Similar to: https://github.com/jerosoler/Drawflow/issues/729