Updated on 2025-08-22 GMT+08:00

All Shortest Paths of Vertex Sets (2.2.15)

Table 1 Parameter description

Parameter

Mandatory

Type

Value Range

Default Value

Description

sources

Yes

String

The value is in the standard CSV format. IDs are separated by commas (,), for example, Alice,Nana.

The maximum ID number is 100000.

-

Source vertex ID set

targets

Yes

String

The value is in the standard CSV format. IDs are separated by commas (,), for example, Alice,Nana.

The maximum ID number is 100000.

-

Target vertex ID set

directed

No

Boolean

true or false. It is a Boolean value.

false

Whether an edge is directed

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]]

For the format of path, see Shortest Path.

sources

String

Source ID set of a path

targets

String

Target ID set of a path