“Resultset too large (over 1000 rows)” in neo4j browser

[亡魂溺海] 提交于 2019-12-11 20:00:44

问题


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


回答1:


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: Big data visualization using "search, show context, and expand on demand" concept

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




回答2:


Look at settings in neo4j browser. You can change Graph Visualization how you like. But browser can work much slower if you wanna see the complete graph.



来源:https://stackoverflow.com/questions/26031795/resultset-too-large-over-1000-rows-in-neo4j-browser

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!