Space tree toggle functionality

369 Views Asked by At

I am working onspace tree provided on this link Space Tree Animation.For the past 3 hours I am trying to add toggle functionality in this tree. For example if I click a node and all of its childrens are opened then it should collapse and vice versa.So in simple I want sort of toggle functionality.How can I acheive this?.Secondly when I click on one node it's sibblings get collapsed how can I stop this?.It's a bit complex for me to sort it out.Any help will be appreciated.

1

There are 1 best solutions below

0
On

Check this:

https://github.com/rlopez0689/OrgChartJit

Feel free to contribute :)