show node name in popup instead of macs

This commit is contained in:
Nils Schneider 2012-09-04 18:39:58 +02:00
parent 4161c8aab4
commit 88ea6ffc30

View file

@ -527,7 +527,7 @@ function update() {
nodeEnter.append("title")
node.selectAll("title")
.text(function(d) { return d.macs })
.text(function(d) { return d.name?d.name:" " })
node.selectAll(".uplinks").remove()