Gnarley trees is a project focused on visualization of various tree data structures. It contains dozens of data structures, from balanced trees and priority queues to union find and stringology. See the web page.
- in eclipse, go to preferences, java, code style, formatter, and use the algvis-format.xml
- in intellij idea, install the external eclipse formatter plugin and again, use the algvis-format