change opacity of faded nodes

alfred-data
Nils Schneider 2012-06-03 15:02:06 +02:00
parent 97eb28a26d
commit 6b58c4f4a5
1 changed files with 2 additions and 2 deletions

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