Open cvharris opened 3 years ago
There are examples of radial d3 trees using the size property but I want to use flexTree to set the node size dynamically. Is there a way to create a radial tree layout with d3-flexTree?
size
flexTree
d3-flexTree
since only the radius will vary for circles, you can consider as squares of different sizes. you can try calculating the center
cx = x + size /2, cy = y + size/2
where size [100, 100]
There are examples of radial d3 trees using the
size
property but I want to useflexTree
to set the node size dynamically. Is there a way to create a radial tree layout withd3-flexTree
?