Function rs_graph::classes::cycle

source ·
pub fn cycle<G>(n: usize) -> Gwhere
    G: Graph + Buildable,
Expand description

Returns a cycle with length n.

The cycle is directed if G is directed