Updated on 2024-01-04 GMT+08:00

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

n

No

Number of paths

Integer

1 to 100

10

k

No

Number of hops

Integer

1 to 10

5

Table 2 response_data parameter description

Parameter

Type

Description

paths

List

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