How to write custom cypher procedures with NetworkX and Memgraph

Click for: original source

NetworkX is a package for the creation, manipulation, and study of the dynamics, functions and structures of networks. It allows us to use complex graph algorithms to solve network-related problems. By Ivan Despot.

Graph in NetworkX example


This tutorial is split into following sections:

  • Introduction
  • Prerequisites
  • Understanding NetworkX Basics
  • Setting up NetworkX in Memgraph
  • Writing a Custom Procedure for Cypher
  • Editing Graphs with NetworkX
  • Passing Arguments to Custom Procedures
  • MAGE - Introducing Memgraph Advanced Graph Extensions

… and more. While there are some limited functionalities, Memgraph offers a straightforward way of using the NetworkX package on graph-like objects that can stream the native database graph directly. This kind of implementation improves memory usage significantly and adds in-memory efficiency to NetworkX algorithms. You will get a lot of query examples and links to some more reading. Great!

[Read More]

Tags linux devops how-to app-development cloud big-data cio data-science