Function rs_graph::classes::path [] [src]

pub fn path<'a, G>(m: usize) -> G where
    G: Graph<'a>, 

Returns a path with m edges.

The path is directed if G is a digraph.