creates a cycle
the number of vertices
Important: The networks package has been deprecated. Use the superseding command GraphTheory[CycleGraph] instead.
This procedure returns a graph that is an undirected cycle with n vertices and edges.
This routine is normally loaded by using the command with(networks), but it may also be referenced by using the full name networks[cycle](...).
G ≔ cycle⁡6:
Download Help Document
What kind of issue would you like to report? (Optional)
Thank you for submitting feedback on this help document. Your feedback will be used
to improve Maple's help in the future.