Represents the connected components of a graph.
Inheritance Hierarchy
ConnectedComponentsResult
Type Details
- yfiles module
- view-layout-bridge
- yfiles-umd modules
- view-layout-bridge
- Legacy UMD name
- yfiles.analysis.ConnectedComponentsResult
Properties
Gets a collection of all connected components in the graph.
Gets a map which returns for each node the ID of the component the node belongs to.
Remarks
If the node is not part of an optional subgraphNodes, the return value is -1. Otherwise, the ID of a component is a non-negative number value which is common for all nodes of the same component.
Gets a map which returns for each node the component the node belongs to.
Remarks
If the node does not belong to subgraphNodes, the return value is
null
.