change opacity of faded nodes
This commit is contained in:
parent
97eb28a26d
commit
6b58c4f4a5
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue