Make nodes selectable from the grid

This commit is contained in:
Ian Gulliver
2019-07-11 05:12:08 +00:00
parent 15ad72dc0a
commit ea5e3cb7e1
15 changed files with 50 additions and 4 deletions

View File

@@ -106,6 +106,7 @@ class GraphNode {
return null;
}
let node = new GraphNode();
node.id = item.id;
node.label = item.label;
node.soft = soft;
node.highlight = item.highlight;