Py2Neo export to Networkx

Hi, is it possible connect with Neo4j with py2neo and export the graph with relationships to Networkx? I'd like use the networkx with pyvis to create a view vis.js. Can anyone help me? Thanks.

Hi, I am not familiar with Networkx. The following idea might help. Using APOC to export data from Neo4j to GraphML (https://neo4j.com/docs/labs/apoc/current/export/graphml/) and leverage Networkx capability to read GraphML format (i.e. networkx.readwrite.graphml.read_graphml) ... I never tried this. This is just an idea.

If you are interested graph visualizations in the browser with data from Neo4j, you may want to take a look of this article: https://medium.com/neo4j/graph-visualization-with-neo4j-using-neovis-js-a2ecaaa7c379 and the tool mentioned in the article: https://github.com/neo4j-contrib/neovis.js