Neo4j Configuration with Gephi

筅森魡賤 提交于 2020-01-03 03:29:42

问题


I want to use Neo4j to store a number of graphs I created in python. I was using Gephi for visualization, and I thought the export to Neo4j plugin would be a very simple way to get the data across. The problem is that the server is seemingly not recognizing the neostore...db files that Gephi generated.

I'm guessing I configured things incorrectly, but is there a way to fix that?

Alternatively, I'm also open to importing the files directly. I have two files: one with node titles and attributes and another with an edge list of title to title.

I'm guessing that I would need to convert the titles to ids, right? What would be the fastest way to do that?

Thank you in advance!


回答1:


If you have the file as tab separated csv files, feel free to import them directly. There are some options, check out this page: http://www.neo4j.org/develop/import

Especially the CSV batch importer can help you: http://maxdemarzi.com/2012/02/28/batch-importer-part-1/

Or if it is just a little bit of data, use the spreadsheet approach: http://blog.neo4j.org/2013/03/importing-data-into-neo4j-spreadsheet.html

Please report back if you were successful.




回答2:


I used Gephi to generate a neo4j store file directory in the past - it worked like a charm... I assume you did delete the default graph.db directory and renamed your gephi-generated directory to graph.db? That worked for me...



来源:https://stackoverflow.com/questions/15688612/neo4j-configuration-with-gephi

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