Hi everyone 👋 I’m experimenting with the Neo4j Movie example database and have a basic Cypher question.
I’d like to run a query that returns:
All nodes in the graph
For each node (as a source), all connected nodes
Plus the relationship between them including any properties on both nodes and relationships
Right now, I know I can see nodes in Neo4j Browser using:
||MATCH (n) RETURN n LIMIT 25||
…but I’m not sure how Neo4j Browser chooses which relationships to show when I run this query.
How can I write a Cypher query that explicitly returns each node, its connected nodes, and the relationships (with properties) between them?
Thanks in advance for helping me understand how this visualization logic works! 🙏
Tags: cypher, data-models, visualization