从Neo4j到Gephi的流数据 - 无法读取url

时间:2017-08-22 12:21:16

标签: neo4j gephi graphml

由于还不能通过.graphml文件将数据从Neo4j传输到Gephi而不丢失信息,我试图传输数据。因此,Gephi的Graph Streaming Plugin存在here

按照说明插入Cypher-Code:

match path = (:p)-[:r]->(:m)
WITH path LIMIT 1000
with collect(path) as paths
call apoc.gephi.add(null,'workspace0', paths) yield nodes, relationships, time
return nodes, relationships, time

我收到:

Can't read url http://localhost:8080/workspace0?operation=updateGraph as 
json: http://localhost:8080/workspace0?operation=updateGraph

可能是什么问题?

提前谢谢!

2 个答案:

答案 0 :(得分:0)

对于遇到类似问题的人,将 Gephi(0.92)的语言更改为英语可以解决此问题。

答案 1 :(得分:0)

  1. 在“流媒体属性”中关闭ssl。
  2. 保存
  3. 重新启动Gephi
  4. 加载文件
  5. 启动流服务器

转到

curl "http://localhost:8080/workspace1?operation=getGraph"

所有@YannisP的工作..非常感谢,我刚刚对其进行了测试并将其放入答案中(以便人们可以更轻松地找到它)。

相关问题