documentationfor yFiles for HTML 2.6

ChainsResult

Represents the chains found in the graph as computed by chains.

Inheritance Hierarchy
ChainsResult

Remarks

The chains are available in Paths.

Examples

Highlighting the edges along the chains
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
yfiles-umd modules
view-layout-bridge
Legacy UMD name
yfiles.analysis.ChainsResult

Properties