Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize tree display above a certain node count #16

Open
clpetersonucf opened this issue Mar 19, 2019 · 0 comments
Open

Optimize tree display above a certain node count #16

clpetersonucf opened this issue Mar 19, 2019 · 0 comments

Comments

@clpetersonucf
Copy link
Member

We're seeing a small number of instructors create absolutely massive trees, with literally thousands of nodes. As expected, the tree visualization is not built to handle trees of this size.

In terms of low-hanging fruit, there are a few optimizations we can apply:

  • Simplify node display styles to reduce rendering overhead
  • Hide subtrees beyond a certain depth, or allow subtrees to be minimized and expanded
  • Improve how node ID iteration works: right now we never go past double digits, so the biggest expected value is ZZ. Afterwards the first character will begin iterating through subsequent ascii values.
  • Improve zooming and panning functionality beyond a certain width
  • Perform preemptive tree traversals and warn the author if a given subtree is over a certain depth or a path is too long ("students will spend a long time in this widget, consider the time it will take to complete this widget")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant