apoc.path

Qualified Name Type

apoc.path.expand(startNode ANY, relFilter STRING, labelFilter STRING, minDepth INTEGER, maxDepth INTEGER) - returns PATH values expanded from the start NODE following the given RELATIONSHIP types from min-depth to max-depth.

Procedure

apoc.path.expandConfig(startNode ANY, config MAP<STRING, ANY>) - returns PATH values expanded from the start NODE with the given RELATIONSHIP types from min-depth to max-depth.

Procedure

apoc.path.spanningTree(startNode ANY, config MAP<STRING, ANY>) - returns spanning tree PATH values expanded from the start NODE following the given RELATIONSHIP types to max-depth.

Procedure

apoc.path.subgraphAll(startNode ANY, config MAP<STRING, ANY>) - returns the sub-graph reachable from the start NODE following the given RELATIONSHIP types to max-depth.

Procedure

apoc.path.subgraphNodes(startNode ANY, config MAP<STRING, ANY>) - returns the NODE values in the sub-graph reachable from the start NODE following the given RELATIONSHIP types to max-depth.

Procedure

apoc.path.combine(path1 PATH, path2 PATH) - combines the two given PATH values into one PATH.

Function

apoc.path.create(startNode NODE, rels LIST<RELATIONSHIP>) - returns a PATH from the given start NODE and LIST<RELATIONSHIP>.

Function

apoc.path.elements(path PATH) - converts the given PATH into a LIST<NODE | RELATIONSHIP>.

Function

apoc.path.slice(path PATH, offset INTEGER, length INTEGER) - returns a new PATH of the given length, taken from the given PATH at the given offset.

Function