Function cycle

Source
pub fn cycle<G>(n: usize) -> G
where G: Graph + Buildable,
Expand description

Returns a cycle with length n.

The cycle is directed if G is directed