C = connectedComponents G
A connected component is a list of vertices of a graph that are connected, in other words there exists a path of edges between any two vertices in the component.
|
|
The source of this document is in /build/reproducible-path/macaulay2-1.25.06+ds/M2/Macaulay2/packages/Graphs.m2:3221:0.