This feels like a serious case of RTFM, but I can't seem to find the answer to a rather silly question.
I am trying to display the entire graph in http://localhost:7474/browser/ , so I entered MATCH (n) RETURN n and it shows a large graph, however, not complete. If I double click on nodes, I see more edges and more nodes popping up. I searched some more and found MATCH (n) OPTIONAL MATCH (n)-[r]-(m) RETURN n,r,m, but that returned pretty much the same result, and I could expand nodes by double clicking on them..
How large is the graph, in nodes + relationships? It is possible that Browser's query result limit is dropping the tail of the result set. To clarify, you'll find settings in Neo4j Browser's sidebar which affect how much of the query result is retained, and also limits on the visualization itself.
Fair warning, increasing the limits too far is likely to cause significant performance degradation of Neo4j Browser. Neo4j Bloom has much better performance for visualizing large graphs.
As a check, try only returning connected paths with something like:
The graph at the moment have 576 nodes and 1042 relationships, which is hitting the limits (that I was not aware of!).
That's fine, I don't really need to browse the full graph, I was just surprised at the behavior, and thought there was something wrong with the node/edge insertion.
the other aspect is without a limit, if you had a graph that had 100,000 nodes and then the browser tried to render/display all 100,000 nodes it becomes awfully unmanageable to make sense of the data since the entire results panel would be full of nodes
@dana_canzano very true, was just trying to get a sense if my node/edge insertion logic works properly. Can't really manage such gigantic graph visually!
Thank you both for replying so quickly, problem solved!