Don't let groups or links be targets

This commit is contained in:
Ian Gulliver
2019-06-23 07:29:48 +00:00
parent 94bdfd88a7
commit 7cbe735a2a

View File

@@ -107,14 +107,12 @@ class Architype {
buildGraphGroup(graph, group) {
group.clear();
graph.groups.push(group);
this.buildGraphTarget(graph, group.getLabel(), group);
this.buildGraphInt(graph, group.getNodes());
}
buildGraphLink(graph, link) {
link.clear();
graph.links.push(link);
this.buildGraphTarget(graph, link.getLabel(), link);
this.buildGraphInt(graph, [link.getFrom(), link.getTo()]);
}