# cycleGraph -- Constructs a cycle graph

## Synopsis

• Usage:
C = cycleGraph n
• Inputs:
• Outputs:
• C, an instance of the type Graph, The cycle graph with n vertices

## Description

A cycle graph is a graph on n vertices in which all the vertices are in a closed chain of edges.

 i1 : C = cycleGraph 5 o1 = Graph{0 => {1, 4}} 1 => {0, 2} 2 => {1, 3} 3 => {2, 4} 4 => {0, 3} o1 : Graph

## Ways to use cycleGraph :

• "cycleGraph(ZZ)"

## For the programmer

The object cycleGraph is .