paths#

Functions

bfs_shortest_path(graph, start, goal)

Find the shortest path in a graph using the Breadth-First Search (BFS) algorithm.

path_from_endpoint(k, endpoint)

Return the path (sequence of endpoints) starting from the given endpoint in a planar diagram.