StrongComponents[g]
gives a list of all strongly connected components in the directed graph g.


StrongComponents
StrongComponents[g]
gives a list of all strongly connected components in the directed graph g.
Details and Options
- StrongComponents functionality is now available in the built-in Wolfram Language function ConnectedComponents.
- To use StrongComponents, you first need to load the Graph Utilities Package using Needs["GraphUtilities`"].
- A strongly connected component of a directed graph is a set of vertices such that there is a path connecting any two vertices.
Examples
Basic Examples (2)
This finds all strong components of the graph:
StrongComponents has been superseded by ConnectedComponents:
Tech Notes
Related Guides
-
▪
- Graph Utilities Package ▪
- 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 (2007), StrongComponents, Wolfram Language function, https://reference.wolfram.com/language/GraphUtilities/ref/StrongComponents.html.
CMS
Wolfram Language. 2007. "StrongComponents." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/GraphUtilities/ref/StrongComponents.html.
APA
Wolfram Language. (2007). StrongComponents. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/GraphUtilities/ref/StrongComponents.html
BibTeX
@misc{reference.wolfram_2025_strongcomponents, author="Wolfram Research", title="{StrongComponents}", year="2007", howpublished="\url{https://reference.wolfram.com/language/GraphUtilities/ref/StrongComponents.html}", note=[Accessed: 16-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_strongcomponents, organization={Wolfram Research}, title={StrongComponents}, year={2007}, url={https://reference.wolfram.com/language/GraphUtilities/ref/StrongComponents.html}, note=[Accessed: 16-August-2025]}