Updated on 2022-02-22 GMT+08:00

All Shortest Paths

Table 1 parameters parameter description

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

Table 2 response_data parameter description

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