commit | 9148182d15aff555f09b511bec21123ffdb9eb97 | [log] [tgz] |
---|---|---|
author | Sean Condon <sean.condon@microsemi.com> | Tue Jan 01 13:56:14 2019 +0000 |
committer | Sean Condon <sean.condon@microsemi.com> | Wed Jan 09 20:11:28 2019 +0000 |
tree | 37f5776a0acc497b9b48e10466fa7cc3b9ee6dcd | |
parent | eeb4cf559e6a8c076e90d5913e9fb8b0c98c9cc3 [diff] [blame] |
GUI2 added in details panel, updated docs Change-Id: I49a874deeb4de1082f190ea5d0d985c986a978f8
diff --git a/web/gui2/src/main/webapp/app/view/topology/layer/forcesvg/visuals/linksvg/linksvg.component.ts b/web/gui2/src/main/webapp/app/view/topology/layer/forcesvg/visuals/linksvg/linksvg.component.ts index 8202c67..af4d0a9 100644 --- a/web/gui2/src/main/webapp/app/view/topology/layer/forcesvg/visuals/linksvg/linksvg.component.ts +++ b/web/gui2/src/main/webapp/app/view/topology/layer/forcesvg/visuals/linksvg/linksvg.component.ts
@@ -53,6 +53,7 @@ export class LinkSvgComponent extends NodeVisual implements OnChanges { @Input() link: Link; @Input() highlighted: string = ''; + @Input() highlightsEnabled: boolean = true; @Input() label: string; isHighlighted: boolean = false; @Output() selectedEvent = new EventEmitter<UiElement>(); @@ -86,6 +87,9 @@ } enhance() { + if (!this.highlightsEnabled) { + return; + } this.enhancedEvent.emit(this.link); this.enhanced = true; this.repositionLabels();