Graph Pathfinding Visualizer

Explore BFS, DFS, and A* on a grid graph: open cells are nodes, walls block movement, and edge costs are uniform. Originally built as a Java console app; this page is the interactive browser port.

Preset
Algorithm
Paint

Pick an algorithm and run search, or edit the grid with paint modes.