Loading a Neo4j subgraph into Networkx

后端 未结 2 1951
萌比男神i
萌比男神i 2021-02-02 13:04

I have been dealing with Neo4j through python\'s Bulbflow and now need a way to save/export subgraphs. I have seen Java and even Ruby approaches for doing this, however a simple

相关标签:
2条回答
  • 2021-02-02 13:47

    I know it's an old question, but if you stumbled upon it like me - know that networkx has a subgraph command, so you can load the whole graph from Neo4j and use that.

    0 讨论(0)
  • 2021-02-02 14:05

    I didn't know the answer until you asked, but it seems like you can just export in gml, which networkx can read. Here are a few answers that might be useful:

    Neo4j export Tree

    Convert Neo4j DB to XML?

    https://github.com/tinkerpop/gremlin/wiki/Gremlin-Methods

    Hope that helps.

    0 讨论(0)
提交回复
热议问题