Individual highlighting for link and group labels

This commit is contained in:
Ian Gulliver
2019-07-14 03:19:15 +00:00
parent f3823812c7
commit 3bdb240987
11 changed files with 95 additions and 52 deletions

View File

@@ -11,11 +11,13 @@ class GraphLink {
to: to,
id: this.id,
label: this.label,
labelId: this.labelId,
});
to.linksIn.push({
from: from,
id: this.id,
label: this.label,
labelId: this.labelId,
});
}
}
@@ -31,6 +33,7 @@ class GraphLink {
let link = new GraphLink();
link.id = item.id;
link.label = item.label;
link.labelId = item.labelObj.id;
link.fromLabel = item.from.label;
link.toLabel = item.to.label;
if (link.fromLabel == '' || link.toLabel == '') {