Updated on 2023-07-19 GMT+08:00

SSSP (1.0.0)

Table 1 parameters parameter description

Parameter

Mandatory

Description

Type

Value Range

Default Value

source

Yes

Vertex ID

String

-

-

directed

No

Whether to consider the edge direction

Boolean

true or false

true

Table 2 response_data parameter description

Parameter

Type

Description

distance

List

Path length of each vertex in the graph from the source vertex. The format is as follows:

[{vertexId:distanceValue},...],

where

vertexId is of the string type.

distanceValue is of the double type.

source

String

Source vertex ID