DeveloperLiberationFront / Excel-Function-Visualizer

Justin tends to his trees
2 stars 1 forks source link

Automatic expansion of certain paths #26

Open jalanmiddleton opened 8 years ago

jalanmiddleton commented 8 years ago

Should there be a way to make the tree automatically expand some of the following?

Gmaster89 commented 8 years ago

The toggle for Longest path and Leaf Node can be added in treeMaker.js and when clicked, expansion can be handled in "function expandclick()"

jalanmiddleton commented 8 years ago

Do you have any idea of how these might be integrated into the interface smoothly? Like, would they be new buttons somewhere, or some new key combination?

Gmaster89 commented 8 years ago

Yes, this can be integrated as an option to pop up for the right click on parent node (and if at all there is a need to find a longest path from a particular nth node in the tree, then this left click functionality can be applied for the child nodes also). So, apart from the parent node, we are also able to find the longest path from a particular node at nth level too.