Adam Cowley Profile picture
Providing anti-Java balance at @neo4j. Here if you need me. #graphacademy He/him
Jun 14, 2019 5 tweets 2 min read
Detecting and visualising nodes in #neo4j using Neo4j Graph Algorithms and APOC.

This works really well with Neo4j Bloom and will show you whether you're on the right track.

1/ // Run the appropriate Community Detection Algorithm
CALL algo.louvain.stream('User', 'FRIENDS')
YIELD nodeId, community

WITH community, collect(nodeId) AS ids