Expand description

Breadth-first distance labeling.

Functions

Returns pairs (node, dist) indicating distance of each node from a root.