Open gugguson opened 10 years ago
I have been trying all day to create an event which triggers on mouse click on node and displays it's label. I haven't been able to find a solution on the net. Is it trivial to implement?
Yes, you should only need to add an onclick handler to the node. See https://github.com/cpettitt/dagre-d3/issues/67 for an example.
I have been trying all day to create an event which triggers on mouse click on node and displays it's label. I haven't been able to find a solution on the net. Is it trivial to implement?