jerosoler / Drawflow

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

Connection breaking when node moved. #787

Closed Mohammed-Rasik closed 7 months ago

Mohammed-Rasik commented 7 months ago

Hi there,

Thank you so much for this library.

I am using Drawflow with my Angular project. Node creation and creating connections are working as we expected.

image

After connection creation when I tried to move any node which is connected with any other node, the connection getting broken. This break is facing before the onMoved event triggering.

image

Could you please help me with any solution..?

jerosoler commented 7 months ago

In the image output not found on node source, review output. What output???

Mohammed-Rasik commented 7 months ago

Hi @jerosoler ,

Thanks for the reply. As you mentioned the issue was with input/output . As part of node style customisation, input/output was not visible when a node is selected by using css property of display: none. That was the cause of breaking the connection while dragging. I achieved the same by setting opacity property to make input/output not visible.

Thanks for the support.