将 Neo4j 3.2.2 Graph 导出到 Gephi 0.9.1 的问题
Issues with exporting Neo4j 3.2.2 Graph to Gephi 0.9.1
由于 Grephi 0.9.1 没有 Neo4j 插件,我尝试将我的 Neo4j 图导出为 .graphml 文件。我在 Grephi 中创建了一个空的 .graphml 文件并使用了以下过程:
call apoc.export.graphml.all('file:C:/test.graphml',{})
但是我收到了:
Failed to invoke procedure `apoc.export.graphml.all`: Caused by: java.io.FileNotFoundException: file:C:\test.graphml (Syntax of filename, directory or harddrive is wrong)
在我之前添加的neo4j.conf文件中:
apoc.export.file.enabled=true
apoc.import.file.enabled=true
有什么想法吗?
我在这里找到了有用的信息:
http://grokbase.com/t/gg/neo4j/15397fjvyy/export-graphml
"import-graphml can read from an URL but as you can't write to an URL the export only supports normal path syntax"
所以这对我有用:
call apoc.export.graphml.all('C:/test.graphml',{})
由于 Grephi 0.9.1 没有 Neo4j 插件,我尝试将我的 Neo4j 图导出为 .graphml 文件。我在 Grephi 中创建了一个空的 .graphml 文件并使用了以下过程:
call apoc.export.graphml.all('file:C:/test.graphml',{})
但是我收到了:
Failed to invoke procedure `apoc.export.graphml.all`: Caused by: java.io.FileNotFoundException: file:C:\test.graphml (Syntax of filename, directory or harddrive is wrong)
在我之前添加的neo4j.conf文件中:
apoc.export.file.enabled=true
apoc.import.file.enabled=true
有什么想法吗?
我在这里找到了有用的信息:
http://grokbase.com/t/gg/neo4j/15397fjvyy/export-graphml
"import-graphml can read from an URL but as you can't write to an URL the export only supports normal path syntax"
所以这对我有用:
call apoc.export.graphml.all('C:/test.graphml',{})