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

@@ -23,6 +23,7 @@ class EditorNode extends EditorEntryBase {
serialize() {
return {
type: 'node',
id: this.getId(),
label: this.getLabel(),
highlight: this.elem_.classList.contains('highlight'),
};