K-hop
Parameter |
Mandatory |
Description |
Type |
Value Range |
Default Value |
---|---|---|---|---|---|
k |
Yes |
Number of hops |
Integer |
1 to 100 |
- |
source |
Yes |
Vertex ID |
String |
- |
- |
mode |
No |
Direction
|
String |
OUT, IN, or ALL |
OUT |
Parameter |
Type |
Description |
---|---|---|
vertices |
List |
ID of the vertex within k hops. The format is as follows: [vertexId,...], where vertexId is of the string type. |
source |
String |
Source vertex ID |
k |
Integer |
Number of hops |
k_hop_neighbors |
Integer |
Number of vertices within k hops (excluding the source vertex) |
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