An interactive visualizer for BFS, DFS, Dijkstra, Floyd-Warshall, Prim's, and Kruskal's algorithms with step-by-step frontier tracking and graph creation.

Graph algorithms are taught as abstract procedures. You trace through BFS, DFS, and Dijkstra's on paper and memorize the steps. But I kept wondering what the algorithm was actually seeing at each step. What does the frontier look like to BFS as it expands? How does Dijkstra's perception of the graph change as it discovers shorter paths? I wanted to see the algorithm's state, not just its output.
Powered by HTML5 Canvas API and JavaScript data structures.
An interactive visual exploration canvas for core graph traversal algorithms: