Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
10-18-2022 04:14 AM
I am new to Neo4j,
I am using this query to get the below layout in traversing the path
Blue coloured nodes are referred as Business_Requirements which have additional linked Silver coloured (Business_Attributes) nodes with relationship as MAPPED_TO .
Please help me in bringing out the below layout through cypher query. Since the silver color nodes are not in the path, i was not able to pull the below required layout
Solved! Go to Solution.
10-18-2022 11:08 AM
Try this:
match (a:Schedules) where a.schedule = "RC-B - Securities"
CALL apoc.path.spanningTree(a, {maxLevel:5}) yield path
return path
10-18-2022 04:56 AM
One approach to determine the silver nodes could be: extract the blue nodes from the path by label and then match those to the silver ones. Return these with your path.
another approach is to use one of the apoc path procedures to get all the nodes.
10-18-2022 11:08 AM
Try this:
match (a:Schedules) where a.schedule = "RC-B - Securities"
CALL apoc.path.spanningTree(a, {maxLevel:5}) yield path
return path
All the sessions of the conference are now available online