问题描述:

I'm using neo4j 2.1.2 community edition. I have loaded the CSV file which is having 2500 rows and i have created nodes and relationships among the columns. When i run the below cypher query

match (n) return count(*);

I'll get the nodes count as 17275. So when i match the nodes like match (n) return n and try to get the corresponding graph in a neo4j browser, it says

Resultset too large (over 1000 rows)

I know it's due to the nodes requested is more than 1000. So if i want to see the complete graph in neo4j browser, how can i do it?

The same query i tried in the neo4j web-admin, i wan able to get the data in tabular format but i wanted to see the data as a graph.

Also I'm not able to find neo4j-Shell in my neo4j installation bin directory. Why is that?

Thanks

网友答案:

Update 1

The Neo4J Web UI is built on top of D3.js using SVG: due to SVG performances in a browser when you have more than 500 nodes in a network, the user experience starts to degrade quite quickly.

Handling more than 1000 nodes adds to the technical challenge: in fact with so many nodes what happens most of the time is the "hairball" effect.

This is a blog post that might be useful (disclaimer: I am a developer for KeyLines) about visualizing big network with some design hints.

As you can imagine visualizing more than 1000 nodes is not that easy and that's why some companies such Cambridge Intelligence (KeyLines), Tom Sawyer (Perspective) or Linkourius came up with specific products for that.

You can of course build the visualization yourself for fun with open source libraries but keep in mind that it can take a very long time.

If your Neo4J project is not commercial I can suggest to have a look to Gephi to visualize it: it is a Desktop Application and it has a Neo4J adapter plugin. It can easily handle huge datasets but of course it lacks the same portability of a webapp.

In case you need ONLY a storage for your graph/data than a visualization is not required, you're right.

Original Answer

I think you might have to implement a custom visualization too see such graph in the browser, using one option of those in this page: http://www.neo4j.org/develop/visualize .

Alternatively have a look to this most extensive list here: Interactive and Dynamic Graph Visualization

Or maybe have a different visualization approach with one of the following: Data Visualization libraries

相关阅读:
Top