Gephi的Neo4j配置 [英] Neo4j Configuration with Gephi

查看:628
本文介绍了Gephi的Neo4j配置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想用Neo4j来存储我在python中创建的许多图。我使用Gephi进行可视化,并且我认为导出为Neo4j插件将是获取数据的一种非常简单的方法。问题是,服务器似乎没有识别Gephi生成的neostore ... db文件。



我猜我配置错误,但有没有办法解决这个问题?



或者,我也直接导入文件。我有两个文件:一个带有节点标题和属性,另一个带有标题标题边缘清单。



我猜我需要将标题转换为IDS,对吗?

预先感谢您!

解决方案

div>

如果您将该文件作为制表符分隔的csv文件,请随意直接导入它们。有一些选项,请查看此页面: http://www.neo4j.org/develop/import



特别是CSV批量导入程序可以帮助您: http://maxdemarzi.com/2012/02/28/batch-importer-part-1/



或者,如果它只是一些数据,请使用电子表格方法: http://blog.neo4j.org/2013/03/importing-data-into-neo4j-spreadsheet.html



请报告如果你成功的话,请回来。


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.

这篇关于Gephi的Neo4j配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆