Exporting a Networkx graph as a Cypher query
This little project defines a function that can be used to construct a Cypher query which when executed against a Neo4j database server will store the graph to the server.
- A Graph is an abstract mathematical model composed of Nodes connected through Edges that can be used to describe complex systems composed of a set of parts (corresponding to nodes) and their connections (corresponding to edges).
- Examples of graphs are road networks (junctions connected via roads), electronic circuit networks (components and their connections) and others
- Networkx is an excellent Python module for manipulating such Graph objects of any kind.
- Neo4j is a graph database. It uses the Graph as a data model to store such objects to a data store.