Reputation: 468
My Neo4j 3 have nodes and relationships , I have to view all the nodes without relationship in graph view . I used Match(n) return n
but it returned all the nodes and relationship. How to view only the nodes without relationship ?
Upvotes: 0
Views: 3699
Reputation: 92440
This should return all nodes that have no relationships at all
MATCH (n)
WHERE NOT (n)--()
RETURN n;
Is that what you are asking, or do you just want to see nodes in the console without having their relationships displayed? If this is the case there is a setting you can check to turn off Connect Results Node
in the browser console:
Upvotes: 7