-
vizulyMarch 20, 2018 at 10:12 am #8286
Hello Patrick,
As far as the margin goes, you shouldn’t have to adjust the code in the weightedtree.js file. You simply pass in that margin object from the test container where you are setting the size, height, data etc of the tree. You would set it in the weightedtree_test.js file, from outside the component. But what you did would work as well.
In regards to the horizontal spacing you can actually specify in pixels the separation width you want by calling the
viz.fixedSpan(200)
or something like that. This would set the space between branch levels to 200 pixels. You do this as well from the test container and you shouldn’t have to modify the component.I hope that helps.
Cheers,
Tom
You must be logged in to reply to this topic.
© 2024 — vizuly.io