Untli I am missing something,
these
nodes do not look the same to me in any angle of view. What do
you mean by node size? If you mean the node radius, then it is
definitely different for each node, based on its value.
You surely can use something like this:
node.enter()
.append("svg:circle")
.attr("class", function(d){ return "circle type"+d.type})
.attr("r", function(d) { return d.radius })//here the svg:circle radius is set based on the data vaules, do your magic HERE
.on("mouseover", fade(.1, true))
.on("mouseout", normalizeNodesAndRemoveLabels())
.on("click", openLink())
In case that this is what you had in mind.
Dne 11.5.2012 15:15, ben palmer napsal(a):