apoc.path.subgraphNodes

Procedure

apoc.path.subgraphNodes(startNode <id>|Node|list, {maxLevel,relationshipFilter,labelFilter,bfs:true, filterStartNode:false, limit:-1, optional:false, endNodes:[], terminatorNodes:[], sequence, beginSequenceAtStart:true}) yield node - expand the subgraph nodes reachable from start node following relationships to max-level adhering to the label filters

Signature

apoc.path.subgraphNodes(start :: ANY?, config :: MAP?) :: (node :: NODE?)

Input parameters

Name Type Default

start

ANY?

null

config

MAP?

null

Output parameters