-
vizulyApril 4, 2018 at 1:05 pm #8909
Hi Blair,
Check out the toggleNode code inside the src/viz/weightedtree.js function that will show you what it is doing to ‘toggle’ a node, which is essentially making sure all parent nodes have a valid ‘children’ property (versus ‘_children’).
You will want to make a recursive function that goes through all parent/children and doe the same thing as the toggleNode function (making sure just to open the nodes, versus closing open ones.) You can do this in the test container, but the appropriate place would be in the src/viz/weightedtree.js component file.
Cheers,
Tom
You must be logged in to reply to this topic.
© 2024 — vizuly.io