apoc.algo.dijkstra
Syntax |
|
||
Description |
Runs Dijkstra’s algorithm using the given |
||
Input arguments |
Name |
Type |
Description |
|
|
The node to start the search from. |
|
|
|
The node to end the search on. |
|
|
|
The relationship types to restrict the algorithm to. Relationship types are represented using APOC’s rel-direction-pattern syntax; |
|
|
|
The name of the property to use as the weight. |
|
|
|
The |
|
|
|
The number of wanted paths to return. The default is: |
|
Return arguments |
Name |
Type |
Description |
|
|
The path result. |
|
|
|
The weight of the given path. |