apoc.path.expand

Procedure APOC Core

apoc.path.expand(startNode <id>|Node|list, 'TYPE|TYPE_OUT>|<TYPE_IN', '+YesLabel|-NoLabel', minLevel, maxLevel ) yield path - expand from start node following the given relationships from min to max-level adhering to the label filters

Signature

apoc.path.expand(start :: ANY?, relationshipFilter :: STRING?, labelFilter :: STRING?, minLevel :: INTEGER?, maxLevel :: INTEGER?) :: (path :: PATH?)

Input parameters

Name Type Default

start

ANY?

null

relationshipFilter

STRING?

null

labelFilter

STRING?

null

minLevel

INTEGER?

null

maxLevel

INTEGER?

null

Output parameters