apoc.path.spanningTree

Procedure

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

Signature

apoc.path.spanningTree(start :: ANY?, config :: MAP?) :: (path :: PATH?)

Input parameters

Name Type Default

start

ANY?

null

config

MAP?

null

Output parameters