GraphUtilities`
GraphUtilities`

StrongComponents

As of Version 10, all the functionality of the GraphUtilities package is built into the Wolfram System. »

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 defines a small graph:

This finds all strong components of the graph:

StrongComponents has been superseded by ConnectedComponents:

Wolfram Research (2007), StrongComponents, Wolfram Language function, https://reference.wolfram.com/language/GraphUtilities/ref/StrongComponents.html.

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_2023_strongcomponents, author="Wolfram Research", title="{StrongComponents}", year="2007", howpublished="\url{https://reference.wolfram.com/language/GraphUtilities/ref/StrongComponents.html}", note=[Accessed: 19-March-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_strongcomponents, organization={Wolfram Research}, title={StrongComponents}, year={2007}, url={https://reference.wolfram.com/language/GraphUtilities/ref/StrongComponents.html}, note=[Accessed: 19-March-2024 ]}