Skip to content

@graphty/cytoscape-extensions / index / PointPathResult

Interface: PointPathResult ​

Defined in: cytoscape-extensions/src/algorithms.ts:219

One path between two nodes, in the shape of Cytoscape's aStar.

Properties ​

distance ​

readonly distance: number

Defined in: cytoscape-extensions/src/algorithms.ts:223

The length of the path; Infinity when not found.


found ​

readonly found: boolean

Defined in: cytoscape-extensions/src/algorithms.ts:221

Whether goal can be reached from root.


path ​

readonly path: CollectionReturnValue

Defined in: cytoscape-extensions/src/algorithms.ts:225

Alternating node, edge, node; empty when not found.