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)
|
.data(json.nodes)
|
||||||
.enter().append("g")
|
.enter().append("g")
|
||||||
.attr("class", "node")
|
.attr("class", "node")
|
||||||
.on("mouseover", fade(.1))//highlight_nodes(true))
|
.on("mouseover", fade(.2))
|
||||||
.on("mouseout", fade(1))//highlight_nodes(false))
|
.on("mouseout", fade(1))
|
||||||
.call(force.drag);
|
.call(force.drag);
|
||||||
|
|
||||||
node.append("ellipse")
|
node.append("ellipse")
|
||||||
|
|
Loading…
Reference in a new issue