Represents the chains found in the graph as computed by chains.
Inheritance Hierarchy
ChainsResult
Remarks
The chains are available in Paths.
This class cannot be instantiated
Examples
const result = new Chains({ directed: true }).run(graph)
result.chains.forEach((path) =>
path.edges.forEach((edge) => graph.setStyle(edge, highlightEdgeStyle)),
)
Type Details
- yFiles module
- view-layout-bridge
Properties
All chains in the graph.