Highlight links

This commit is contained in:
Ian Gulliver
2019-07-10 23:41:41 +00:00
parent 0aa272c224
commit dda2102f99
7 changed files with 47 additions and 6 deletions

View File

@@ -226,6 +226,7 @@ class Layout {
from: from,
to: link.to,
label: link.label,
highlight: link.highlight,
});
}
}
@@ -237,7 +238,7 @@ class Layout {
for (let link of links) {
this.links_.push(
new LayoutLink(link.from, link.to, link.label,
new LayoutLink(link.from, link.to, link.label, link.highlight,
this.nodesByPos_, this.linksByPos_,
this.labelsByPos_));
}