PRIMCODE / graphViewer

0 stars 1 forks source link

link editor: create link #9

Open remyla opened 9 years ago

remyla commented 9 years ago

implement a user interface to create links (edges) between nodes. Here is a description of the successive user actions to create a link:

MatLala commented 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)

jogal360 commented 9 years ago

Working on it

MatLala commented 9 years ago

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.