- Click on the graph to enable the border.
- Click on the node which you want to select as source node of the BFS demo.
- You can click on Pause or Play to do so respectively and adjust speed using the slider.
- Click on Next to move a step forward.
- Click on New Graph to start over with a new graph.
- Click on Reset to start over with the same graph.
- Zoom or Adjust graph by dragging nodes according to your convenience.
| Legend: |
Node |
| Source |
| Explored |
| Unvisited |
| Current |
| Traversed |
Edge |
| Not added to BFS Path |
| Added to BFS Path |
Select the source node from where you want to start the BFS Demo