out package:fgl
Find all outward-bound
LEdges for the given
Node.
The outward-bound degree of the
Node.
Produce a shortest path forest (the roots of which are those nodes
specified) from nodes in the graph from one of the root nodes
(if possible).