Breadth-First Search (BFS) is a classic graph traversal algorithm used to explore all the nodes of a graph in the shortest path-first manner. It works by visiting each neighbor of a node before moving deeper into the graph. BFS guarantees finding the shortest path in an unweighted graph.
This visualizer demonstrates BFS in action on a grid-based layout. You can interact with the grid by setting a start point, a goal point, and adding walls to create obstacles. The algorithm explores nodes systematically and highlights its progress in real time.
Features: