Creates a Graph from a Iterable of chains.
Graph<V, E> fromPath(Iterable<V> chain, {E? value}) => fromPaths([chain], value: value);