Search code examples
javauser-interfacegraphicsgraphb-tree

How to visually display a b-tree in java?


I'm implementing a B-Tree, and would like to display it in a simple UI (or text output) for debugging. What library would you recommend to do this as quickly as possible?

This is just meant as a debugging tool, it should be as simple as possible - I don't want to waste time learning a complicated UI framework just for this. If you know of something that will print it to STDOUT, that's fine as well.


Solution

  • Graphviz is easy to use