-
vizulySeptember 25, 2017 at 7:52 am #8059
Hello Miriam,
The WeightedTree has a function exposed named toggleNode(d), which takes in the node in question and toggles it open or closed depending on its current state.
What you could do is keep track of all Level N nodes that correspond to your bread crumb title path and when a user clicks on a certain level call the toggleNode() function to open each corresponding node. You can tell if a node is open or closed by whether it has a d.children property (open nodes have d.children and closed nodes have d._children.)
I hope that points you in the right direction.
Kind Regards,
Tom
You must be logged in to reply to this topic.
© 2024 — vizuly.io