documentationfor yFiles for HTML 2.6

Usages of Path

Properties

pathsin AllPairsShortestPathsResultGets a collection of shortest paths between the source nodes and sink nodes.
chainsin ChainsResultAll chains in the graph.
pathin LongestPathResultGets the path.
pathsin PathsResultGets a collection of all paths between the startNodes and endNodes.
pathin ShortestPathResultGets the shortest path found between source and sink if one exists.
pathsin SingleSourceShortestPathsResultGets a collection of shortest paths between the source node and sink nodes.

Method Return Values

getPathBetween (INode, INode)in AllPairsShortestPathsResultGets the shortest path between a given source and sink node if one exists.
getAllPathsBetween (INode, INode)in PathsResultGets a collection of all paths between the given start and end node.
getPathBetween (INode, INode)in PathsResultReturns a path between the given start and end node if one exists.
getPathTo (INode)in SingleSourceShortestPathsResultGets the shortest path from the configured source node to the given sink node if one exists.