This document summarizes the steps of a breadth-first search (BFS) algorithm on a graph. It begins by adding the starting vertex 0 to a queue. It then repeatedly removes the first vertex from the queue, checks its unvisited neighbors, adds them to the queue and marks them as visited, until the queue is empty. This process traces each vertex at distance 1, then 2, and so on from the starting point.