Relatively new to Neo4j, but I am looking for some starting pointers or code examples for the following problem: I have a neo4j graph that contains 3 node types (Humans, Pets and Homes). I have 2 relationship types: FRIENDS and LIVING (see image below).
I would like to visualize the n-largest Human-Human "clusters" without the Human-Pets or Home-Human connections. So just clusters of Human friend groups. Any idea how I would go about that? See below, I would like to find and visualize the red subgraph as it is the largest but generally, the top n would be great:
This will work. apoc.path.spanningTree() is relatively fast.