Open remyla opened 9 years ago
We have a good example with this link : http://bl.ocks.org/rkirsling/5001347
As Rémy says, need a key on keyboard to start link creation (because we have ever drag and open node on interaction mouse)
Working on it
Keep graph-common.js independant of graph libraries (d3 & springy). Use or review selectToggle function to do that. This function can be surcharge in grah-d3.js if needed.
Nodes selection by press Shift key then create link with L key is fine. But do an other linking with a "draw method" : See Remyla's comment in this open issue.
implement a user interface to create links (edges) between nodes. Here is a description of the successive user actions to create a link: