Breadth First Search is an algorithm used for regular path finding, procedural map generation and map analysis.
editing on grid