Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
05-29-2021 09:41 AM
Hi Everyone,
I've got a question about splitting out paths from a larger graph. I've solved one problem with my below query, however the view returned has the nodes connected as a large 'tree' like structure. I'd like to see each individual path from the 'Coach' to the 'NavyQualifier2021' Nodes.
match (w:Wrestler)-[wi:WRESTLED_IN {school:'Navy'}]-(m:Match {year:2021}),
(ck:Wrestler {w_key:"Cary Kolat"})
WITH collect(w) as navy_qualifiers, ck as kolat
UNWIND navy_qualifiers as qualifier
MATCH p = shortestPath((kolat)-[:WRESTLED*]-(qualifier))
WHERE NONE(n IN nodes(p) WHERE n.name = 'Bye')
RETURN p
I get what I want with this result, however I'd just like to have a different view for easier of all the paths.
All the sessions of the conference are now available online