Is there a way to dynamically set the height of a D3.js cluster so that it will have the smallest height possible (i.e. the smallest height before the edges of the dendrogram begin to get cut off or nodes start overlapping)?

有帮助吗?

解决方案

This thread on the D3.js Google Group finally answered the question for me. I also changed my cluster to a tree. Hope this helps someone else with the same problem!

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top