breathSearch library

Functions

breathSearch<T>(T root, Iterable<T> getChildren(T node)) List<T>
Return a list of nodes in a order of breath search. (The graph must be cycle free.)