print all nodes in neo4j code example
Example 1: neo4j display all nodes and relationships
Match (n)-[r]->(m)
Return n,r,m
Example 2: display all node label neo4j
MATCH (n) RETURN distinct labels(n)
Match (n)-[r]->(m)
Return n,r,m
MATCH (n) RETURN distinct labels(n)