In a directed graph, calls fn on each edge of a vertex that begins at vertex. In an undirected graph, this is equivalent to iterate-edges.

fn

iterate-edges