WeaklyConnectedComponents

WeaklyConnectedComponents[g]
gives the weakly connected components of directed graph as lists of vertices.

更多信息更多信息

New to Mathematica? Find your learning path »
Have a question? Ask support »