Shortest Paths (1.0.0)
| 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 | - | - |
| weight | No | Weight of an edge | String | Empty or character string
| - |
| directed | No | Whether to consider the edge direction | Boolean | true or false | false |
| Parameter | Type | Description |
|---|---|---|
| path | List | Shortest path. The format is as follows: [vertexId,...] Where, vertexId: string type |
| source | String | Source vertex ID |
| target | String | Target vertex ID |
Last Article: Algorithm APIs
Next Article: Shortest Path of Vertex Sets (1.0.0)
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.