Cycle[n]
constructs the cycle on n vertices, the 2-regular connected graph. An option Type that takes on values Directed or Undirected is allowed. The default setting is Type->Undirected.


Cycle
Cycle[n]
constructs the cycle on n vertices, the 2-regular connected graph. An option Type that takes on values Directed or Undirected is allowed. The default setting is Type->Undirected.
Details and Options
- Cycle functionality is now available in the built-in Wolfram Language function CycleGraph.
- To use Cycle, you first need to load the Combinatorica Package using Needs["Combinatorica`"].
See Also
Tech Notes
Related Guides
-
▪
- Built-in Graphs ▪
- Graph Construction and Representations ▪
- Graphs & Networks ▪
- Graph Visualization ▪
- Computation on Graphs ▪
- Graph Construction & Representation ▪
- Graphs and Matrices ▪
- Graph Properties & Measurements ▪
- Graph Operations and Modifications ▪
- Statistical Analysis ▪
- Social Network Analysis ▪
- Graph Properties ▪
- Mathematical Data Formats ▪
- Discrete Mathematics
Text
Wolfram Research (2012), Cycle, Wolfram Language function, https://reference.wolfram.com/language/Combinatorica/ref/Cycle.html.
CMS
Wolfram Language. 2012. "Cycle." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/Combinatorica/ref/Cycle.html.
APA
Wolfram Language. (2012). Cycle. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/Combinatorica/ref/Cycle.html
BibTeX
@misc{reference.wolfram_2025_cycle, author="Wolfram Research", title="{Cycle}", year="2012", howpublished="\url{https://reference.wolfram.com/language/Combinatorica/ref/Cycle.html}", note=[Accessed: 14-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_cycle, organization={Wolfram Research}, title={Cycle}, year={2012}, url={https://reference.wolfram.com/language/Combinatorica/ref/Cycle.html}, note=[Accessed: 14-August-2025]}