mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-02-20 17:52:46 +00:00
Key for nodes
This commit is contained in:
parent
93bb5a4117
commit
732fcae48d
@ -63,7 +63,9 @@ export class NodesWidget implements Widget {
|
||||
const self = this;
|
||||
|
||||
const node = view.selectAll<SVGGElement, any>('g.node')
|
||||
.data(nodes);
|
||||
.data(nodes, (n: Node) => {
|
||||
return n.node_id;
|
||||
});
|
||||
|
||||
const node_enter = node.enter()
|
||||
.append<SVGGElement>('g')
|
||||
|
Loading…
x
Reference in New Issue
Block a user