From 43868f239fe28ea63144bece33fa5691fc4b9136 Mon Sep 17 00:00:00 2001 From: Nils Schneider Date: Mon, 11 Jun 2012 20:35:30 +0200 Subject: [PATCH] fix link quality title --- html/force.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/html/force.js b/html/force.js index 1d5777f..39bb550 100644 --- a/html/force.js +++ b/html/force.js @@ -334,6 +334,7 @@ function update() { }) linkEnter.append("line") + .append("title") link.selectAll("line") .filter( function (d) { @@ -342,7 +343,7 @@ function update() { .style("stroke", function(d) { return linkcolor(d.quality) }) - .append("title") + link.selectAll("title") .text( function (d) { return d.quality })