Tag object

Fixes #1
This commit is contained in:
Ian Gulliver
2019-07-14 20:44:07 +00:00
parent d47cec70c1
commit 07e26a2a6c
11 changed files with 248 additions and 3 deletions

View File

@@ -5,6 +5,7 @@ class LayoutNode {
this.pos = pos;
this.groups = new Set();
this.tags = new Set();
this.affinity_ = [];
this.label = this.graphNode_.label;
@@ -161,6 +162,7 @@ class LayoutNode {
pos: this.pos,
id: this.graphNode_.id,
label: this.graphNode_.label,
tags: Array.from(this.tags),
};
}
}