This is a visual representation of how BFS and DFS traverse a graph. The two visuals represent BFS and DFS respectively.
TreeSpeed:
Vertices: 50
This visual was made with p5js
You can view my other visuals
Or check out the
source code