Skip to content

v1.0.0

Choose a tag to compare

@0xShady 0xShady released this 09 Nov 16:08

The original fancy-tree from July 2022, tagged after the fact.

  • Prints a binary tree in the terminal, vertically (root on top) or horizontally (root on the left).
  • Templated on the node type. To use it, edit fancy_tree.hpp: include your node's header and set the NODE, LEFT, RIGHT and CONTENT macros.
  • Use it with fancy_tree<Node<int> > and the V_VIEW / H_VIEW flags.

Code written against these names keeps working until v2.0.0, which moves them into the fancy namespace.