change opacity of faded nodes

This commit is contained in:
Nils Schneider 2012-06-03 15:02:06 +02:00
parent 97eb28a26d
commit 6b58c4f4a5

View file

@ -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")