Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
01-05-2021 04:06 PM
Was wondering how to do this in Cypher.
In a commutative diagram these paths represent equal morphisms.
This method is deprecated:
MATCH p=(a{LaTeX:"A"})-[r*]->(b{LaTeX:"C"}) RETURN p
Solved! Go to Solution.
01-05-2021 04:13 PM
MATCH paths = (n1)-[*]-(n2)
RETURN paths SKIP x LIMIT 1
Replace x by 0, 1, 2, 3 for each path (query) you want to see on neo4j desktop.
OR
MATCH paths = (n1)-[*]-(n2)
RETURN paths
Will return all your paths in the Table tab view.
But you will still see all your graph in the Graph tab view
01-05-2021 04:13 PM
MATCH paths = (n1)-[*]-(n2)
RETURN paths SKIP x LIMIT 1
Replace x by 0, 1, 2, 3 for each path (query) you want to see on neo4j desktop.
OR
MATCH paths = (n1)-[*]-(n2)
RETURN paths
Will return all your paths in the Table tab view.
But you will still see all your graph in the Graph tab view
01-07-2021 08:20 PM
You, son, are a gifted genius, thank you!
All the sessions of the conference are now available online