Open wagnerdracha opened 8 months ago
I need same function when nodeCreated.
Hi!
removeConnection function, not required parameter.
The parameter is editor.connection_selected
.
View: https://github.com/jerosoler/Drawflow/blob/300c9efda3bf8820131b3e93ea50cd9b76c892d3/src/drawflow.js#L1730
For addNode
you can create a normal function since it doesn't interfere with the UI.
Hello
First of all, congratilations! This project is amazing!
So, I copied a suggestion to confirm before delete a node.
However, I need to confirm when I click to remove a connection too!
I am trying with next code, it fire correctly when I click on remove connection, but the connection parameter passed to removeConnection is undefined.
How can I do that?
Thanks in advanced!