Network graph nodes connected line click event
For Network graph , when two nodes connected by one line, I want to click the line and trigger click event, and get the information of those two nodes

1 comment
-
Thanks for sharing the idea! Here you can find simple plugin that adds events from `point.events` to links too: http://jsfiddle.net/BlackLabel/b8369zvh/
Note: You can distinguish nodes and links by simple checking `this.isNode` flag.
*Internal note:*
Links are actually points, but hover/tooltip is disabled so default events aren't fired (such link can no be assigned to `chart.hoverPoint` internally).