Defined in: packages/graph/src/connected-components.ts:6
Which component each vertex belongs to, and how many components there are.
Properties
Section titled “Properties”
readonlycount:number
Defined in: packages/graph/src/connected-components.ts:8
Number of components; an isolated vertex is a component of its own.
component
Section titled “component”
readonlycomponent:Int32Array
Defined in: packages/graph/src/connected-components.ts:10
The component label of each vertex, in 0 … count - 1, numbered in order of each component’s smallest vertex.