cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

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.

2 REPLIES 2

poonsfci
Node Link

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

Ola Alesasndro, I was interested in your question and recently found this: https://medium.com/neo4j/nxneo4j-networkx-api-for-neo4j-a-new-chapter-9fc65ddab222
Maybe it is of help. Joao