Binary Tree Traversal

This is a demo of a graph of binary tree traversal.

1. Pre-order traversal
2. In-order traversal
3. Post-order traversal

Visualisation by Cytoscape.js


  1. Create your binary tree
  2. Select an traversal (pre-order/in-order/post-order)
  3. Wait for the animation and result
  4. Please note:

    Each binary tree must have a root to start

And you can also create a new tree by addding new node or import a tree by json file.