mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-03-10 22:44:09 +00:00
Update node.ts
This commit is contained in:
parent
18b037ef04
commit
c01ad75457
@ -41,6 +41,11 @@ export class NodeWidget implements Widget {
|
||||
.on('click', (node: MapNode) => {
|
||||
this.nodesEventSource.clicked.emit(new ClickedDataEvent<MapNode>(node, event.pageX, event.pageY));
|
||||
});
|
||||
|
||||
node_body_merge
|
||||
.append<SVGTextElement>('text')
|
||||
.attr('class', 'layer_label')
|
||||
.text((n: MapNode) => { return n.z});
|
||||
|
||||
// update image of node
|
||||
node_body_merge
|
||||
|
Loading…
x
Reference in New Issue
Block a user