connectedComponents edit page

label connected components in an graph (adjacency matrix)

Syntax

parent = connectedComponents(A)