Shortest Path Visualizer

Dijkstra & BFS on a Grid


Click on the grid to place start, end, and wall nodes. Run Dijkstra or BFS to find the shortest path with animation.

Start End Wall Path Visited
|