From 6b58c4f4a5f436f4319ef0edb31d981b255b4420 Mon Sep 17 00:00:00 2001 From: Nils Schneider Date: Sun, 3 Jun 2012 15:02:06 +0200 Subject: [PATCH] change opacity of faded nodes --- html/force.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html/force.js b/html/force.js index 5698c53..d1815ba 100644 --- a/html/force.js +++ b/html/force.js @@ -82,8 +82,8 @@ d3.json("nodes.json", function(json) { .data(json.nodes) .enter().append("g") .attr("class", "node") - .on("mouseover", fade(.1))//highlight_nodes(true)) - .on("mouseout", fade(1))//highlight_nodes(false)) + .on("mouseover", fade(.2)) + .on("mouseout", fade(1)) .call(force.drag); node.append("ellipse")