문제

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!

도움이 되었습니까?

해결책

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.

다른 팁

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...

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top