show node name in popup instead of macs
This commit is contained in:
parent
4161c8aab4
commit
88ea6ffc30
|
@ -527,7 +527,7 @@ function update() {
|
||||||
nodeEnter.append("title")
|
nodeEnter.append("title")
|
||||||
|
|
||||||
node.selectAll("title")
|
node.selectAll("title")
|
||||||
.text(function(d) { return d.macs })
|
.text(function(d) { return d.name?d.name:" " })
|
||||||
|
|
||||||
node.selectAll(".uplinks").remove()
|
node.selectAll(".uplinks").remove()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue