Graph Search

This is a demo of a graph search algorithms for traversing a graph.

1. Depth-first Search
2. Breadth-first Search

Visualisation by Cytoscape.js

EXAMPLES

  1. Select a start node(tapping on the node to call out the menu);
  2. Select an algorithm(Depth-first Search/Breadth-first Search)
  3. Wait for the animation and result

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