Filtered All Shortest Paths
Overview
The Filtered All Shortest Paths algorithm allows you to search query results of the Shortest Path algorithm for the paths that meet the conditions between two vertices in a graph.
Application Scenarios
This algorithm applies to scenarios such as relationship mining, path planing, and network planning.
Parameter Description
Parameter |
Mandatory |
Description |
Type |
Value Range |
Default Value |
---|---|---|---|---|---|
source |
Yes |
Source vertex ID |
String |
- |
- |
target |
Yes |
Target vertex ID |
String |
- |
- |
directed |
No |
Whether an edge is directed |
Bool |
The value can be true or false. |
false |
Example
Configure the parameters as follows: directed=true, source="Alice", target="Jay", and set the search condition to labelName=friends. The results are returned in JSON format.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot