WeaklyConnectedGraphQ
Details

- WeaklyConnectedGraphQ works for any graph object.
- A graph is weakly connected if there is a sequence of edges joining every pair of vertices.
- A graph is weakly connected if there is a sequence of edges joining every pair of vertices when the graph is considered undirected.

Examples
open all close allBasic Examples (2)
Scope (6)
WeaklyConnectedGraphQ gives False for anything that is not a weakly connected graph:
WeaklyConnectedGraphQ works with large graphs:
Related Guides
History
Text
Wolfram Research (2012), WeaklyConnectedGraphQ, Wolfram Language function, https://reference.wolfram.com/language/ref/WeaklyConnectedGraphQ.html.
CMS
Wolfram Language. 2012. "WeaklyConnectedGraphQ." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/WeaklyConnectedGraphQ.html.
APA
Wolfram Language. (2012). WeaklyConnectedGraphQ. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/WeaklyConnectedGraphQ.html
BibTeX
@misc{reference.wolfram_2025_weaklyconnectedgraphq, author="Wolfram Research", title="{WeaklyConnectedGraphQ}", year="2012", howpublished="\url{https://reference.wolfram.com/language/ref/WeaklyConnectedGraphQ.html}", note=[Accessed: 16-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_weaklyconnectedgraphq, organization={Wolfram Research}, title={WeaklyConnectedGraphQ}, year={2012}, url={https://reference.wolfram.com/language/ref/WeaklyConnectedGraphQ.html}, note=[Accessed: 16-August-2025]}