I'm trying to find a way to know the difference between just clicking on a node to select it and dragging from a port to create an edge, but not connecting it to anything. The events that get fired seem to be identical for these two situations. Is there a way of knowing when a 'failed edge creation attempt' occurs?
The specific situation we are trying to solve is we want to open a properties sheet when you click on the node, but if you were trying to connect two nodes and just missed the drop location or changed your mind, we don't want to open the properties sheet.
I'm trying to find a way to know the difference between just clicking on a node to select it and dragging from a port to create an edge, but not connecting it to anything. The events that get fired seem to be identical for these two situations. Is there a way of knowing when a 'failed edge creation attempt' occurs?
The specific situation we are trying to solve is we want to open a properties sheet when you click on the node, but if you were trying to connect two nodes and just missed the drop location or changed your mind, we don't want to open the properties sheet.