From 88ea6ffc30164f4bbbe7a36f39a1c400575f525e Mon Sep 17 00:00:00 2001 From: Nils Schneider Date: Tue, 4 Sep 2012 18:39:58 +0200 Subject: [PATCH] show node name in popup instead of macs --- html/force.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/force.js b/html/force.js index 8ec0506..dc27d8f 100644 --- a/html/force.js +++ b/html/force.js @@ -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()