Represents the longest directed path in an acyclic graph as computed by LongestPath.
Inheritance Hierarchy
LongestPathResult
Remarks
This class cannot be instantiated
Type Details
- yFiles module
- view-layout-bridge
Properties
Gets the path's length.
Remarks
If there has 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
.