-
vizulyApril 21, 2017 at 6:33 am #7979
Hello,
The tree does its best at setting the vertical spacing layout automatically, but you can define the layout yourself with the ‘branchPadding’ property. This property sets the vertical spacing as a percentage of the overall tree height. So you can experiment with different spacing like this.
myTree.branchPadding(.1).update();
The above would set the spacing between branches to roughly 10% of the height.
I hope that helps.
Tom
You must be logged in to reply to this topic.
© 2024 — vizuly.io