-
SantoshJune 15, 2016 at 2:29 pm #6203
Hi,
I’m trying to use the weighted tree where some nodes have 100 children. When I display this, the edges to the children are very close to each other and the node names are all on top of each other and impossible to read. The nodes themselves are very small. Is there a way to increase the node size and more importantly, increase the separation between the edges? Thanks!
vizulyJune 15, 2016 at 2:43 pm #6204Hi Santosh,
You can adjust the spacing of the child nodes branches by playing around with the tree.nodeSize(..) property.
Line 158 of the weightedtree.js file should be this:
tree.nodeSize([scale,0]);
You can adjust that to better meet your specific needs.
– Tom
-
|
Viewing 1 reply thread
You must be logged in to reply to this topic.