commit | d88f366afc8d539298ed310a7b22f169af23bead | [log] [tgz] |
---|---|---|
author | Sean Condon <sean.condon@microsemi.com> | Wed Apr 03 16:35:30 2019 +0100 |
committer | Sean Condon <sean@opennetworking.org> | Wed Apr 03 17:16:24 2019 +0000 |
tree | eb1290b33f213ec039b6e30900e31949f8e81a13 | |
parent | 0a15a16c5ac588341569260abde82ea5dac7c95b [diff] [blame] |
GUI2 Topo Allow selection of multiple nodes at once Change-Id: I0bb226d4697e3df49da0a049d440a70aed172263
diff --git a/web/gui2-topo-lib/projects/gui2-topo-lib/src/lib/layer/forcesvg/visuals/hostnodesvg/hostnodesvg.component.ts b/web/gui2-topo-lib/projects/gui2-topo-lib/src/lib/layer/forcesvg/visuals/hostnodesvg/hostnodesvg.component.ts index 26c105a..806f9b2 100644 --- a/web/gui2-topo-lib/projects/gui2-topo-lib/src/lib/layer/forcesvg/visuals/hostnodesvg/hostnodesvg.component.ts +++ b/web/gui2-topo-lib/projects/gui2-topo-lib/src/lib/layer/forcesvg/visuals/hostnodesvg/hostnodesvg.component.ts
@@ -23,7 +23,7 @@ } from '@angular/core'; import {Host, HostLabelToggle, Node} from '../../models'; import {LogService} from 'gui2-fw-lib'; -import {NodeVisual} from '../nodevisual'; +import {NodeVisual, SelectedEvent} from '../nodevisual'; /** * The Host node in the force graph @@ -40,7 +40,7 @@ @Input() host: Host; @Input() scale: number = 1.0; @Input() labelToggle: HostLabelToggle.Enum = HostLabelToggle.Enum.IP; - @Output() selectedEvent = new EventEmitter<Node>(); + @Output() selectedEvent = new EventEmitter<SelectedEvent>(); constructor( protected log: LogService