Represents the strongly connected components of a graph.
Inheritance Hierarchy
StronglyConnectedComponentsResult
Type Details
- yfiles module
- view-layout-bridge
- yfiles-umd modules
- view-layout-bridge
- Legacy UMD name
- yfiles.analysis.StronglyConnectedComponentsResult
Properties
Gets a collection of the components in the graph.
Gets a collections of the edges which connect nodes in different components.
Remarks
The edges between nodes in the same component can be obtained from that Component's inducedEdges collection.
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
.