apoc.create.virtualPath

Details

Syntax

apoc.create.virtualPath(labelsN, n, arelType, props, labelsM, m) :: (from, rel, to)

Description

Returns a virtual PATH.

Input arguments

Name

Type

Description

labelsN

LIST<STRING>

The labels to assign to the new virtual start node.

n

MAP

The properties to assign to the new virtual start node.

arelType

STRING

The type to assign to the new virtual relationship.

props

MAP

The properties to assign to the new virtual relationship.

labelsM

LIST<STRING>

The labels to assign to the new virtual node.

m

MAP

The properties to assign to the new virtual node.

Return arguments

Name

Type

Description

from

NODE

The created virtual start node.

rel

RELATIONSHIP

The created virtual relationship.

to

NODE

The created virtual end node.