Convert Neo4j DB to XML?

前端 未结 4 515
粉色の甜心
粉色の甜心 2020-12-28 07:54

Can I convert Neo4J Database files to XML?

4条回答
  •  心在旅途
    2020-12-28 08:30

    I agree, GraphML is the way to go, if you don't have problems with the verbosity of XML. A simple way to do it is to open the Neo4j graph from Gremlin, where GraphML is the default import/export format, something like

    peters: ./gremlin.sh
    
    gremlin> $_g := neo4j:open('/tmp/neo4j')
    ==>neograph[/tmp/neo4j, vertices:2, edges:1]
    gremlin> g:save('graphml-export.xml')
    

    As described here

    Does that solve your problem?

提交回复
热议问题