All Shortest Paths
Parameter |
Mandatory |
Description |
Type |
Value Range |
Default Value |
---|---|---|---|---|---|
source |
Yes |
Source vertex ID of a path |
String |
- |
- |
target |
Yes |
Target vertex ID of a path |
String |
- |
- |
directed |
No |
Whether to consider the edge direction |
Boolean |
true or false |
false |
Parameter |
Type |
Description |
---|---|---|
paths |
List |
All shortest paths between the source vertex and target vertex. The format is as follows: [[path1],[path2]] |
paths_number |
Integer |
Number of paths |
source |
String |
Source vertex ID |
target |
String |
Target vertex ID |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.