Represents the longest directed path in an acyclic graph as computed by LongestPath.
Inheritance Hierarchy
LongestPathResult
Type Details
- yfiles module
- view-layout-bridge
- yfiles-umd modules
- view-layout-bridge
- Legacy UMD name
- yfiles.analysis.LongestPathResult
Properties
Gets the path's length.
Remarks
If there have been edge costs provided, this is the sum of costs along the path. If there were no costs, this is the length of the path, as all edges have a uniform cost of 1
.
If there is no longest path in the graph (because there are no edges), this is 0
.
Gets the path's edges.
Remarks
If there is no longest path in the graph (because there are no edges), this collection is empty.
Gets the path's nodes.
Remarks
If there is no longest path in the graph (because there are no edges), this collection is empty.
Gets the path.
Remarks
If there is no longest path in the graph (because there are no edges), this is
null
.