Bypass the rendering pipeline for highlighting to reduce (eliminate) latency

Fixes #15
This commit is contained in:
Ian Gulliver
2019-07-14 02:26:00 +00:00
parent a4630ba92a
commit f3823812c7
18 changed files with 96 additions and 123 deletions

View File

@@ -11,13 +11,11 @@ class GraphLink {
to: to,
id: this.id,
label: this.label,
highlight: this.highlight,
});
to.linksIn.push({
from: from,
id: this.id,
label: this.label,
highlight: this.highlight,
});
}
}
@@ -35,7 +33,6 @@ class GraphLink {
link.label = item.label;
link.fromLabel = item.from.label;
link.toLabel = item.to.label;
link.highlight = item.highlight;
if (link.fromLabel == '' || link.toLabel == '') {
return null;
}