Can some one help me to find the most connected node of particular relationship type in neo4j using cypher query.
Suppose I have
Node1 Node2 Relationship
A B follows
A C follows
B D follows
Here Node D is the most connected node.of particular relationship type "Follows" .so how to find this node using cypher query?
Thanks in Advance
(Edit):
i found my answer tnx Martin Preusse
MATCH (n)<-[r:FOLLOWS]-()
RETURN n, count(r) AS num
ORDER BY num desc