Drawflow
Drawflow copied to clipboard
double clicked node
Hello, I see in your example, that it is possible to make a node that has a method ondbclick() in the HTML to execute a modal. However, I would like to know if there is a trigger directly by the editor for a double click on a node.
I know that there is for a selected node:
editor.on('nodeSelected', function (id) {
toggleSidebar("right");
});
however I would like to trigger a double click on the node. Is there a way to do this without having to use the method in the HTML?