Javascript – On a Cytoscape.js graph, how to get the coordinates of the edge's terminal nodes by clicking it
On a Cytoscape graph that all the nodes are draggable and edges clickable, I want to click an edge connecting 2 particular nodes and access the (x,y) coordinates of the source and target nodes for some computation. Here is the…