nx-arangodb


Open In Colab CircleCI CodeQL Docs
PyPI version badge Python versions badge
License Code style: black Downloads

This is a backend to NetworkX that offers ArangoDB as a Persistence Layer to NetworkX Graphs:

  1. Persist NetworkX Graphs to ArangoDB.

  2. Reload NetworkX Graphs from ArangoDB.

  3. Perform CRUD on ArangoDB Graphs via NetworkX.

  4. Run algorithms (CPU & GPU) on ArangoDB Graphs via NetworkX.

Benefits of having ArangoDB as a backend to NetworkX include:

  1. No need to re-create the graph every time you start a new session.

  2. Access to GPU-accelerated graph analytics (nx-cugraph).

  3. Access to a database query language (Arango Query Language).

  4. Access to a visual interface for graph exploration (ArangoDB Web UI).

  5. Access to cross-collaboration on the same graph (ArangoDB Cloud).

  6. Access to efficient distribution of graph data (ArangoDB SmartGraphs).

nx-arangodb Diagram

Requirements

  • Python 3.10+

  • NetworkX 3.0+

  • ArangoDB 3.10+

Installation

Latest Release

pip install nx-arangodb

Current State

pip install git+https://github.com/arangodb/nx-arangodb

Contents

The UX of NetworkX-ArangoDB is similar to that of NetworkX, but with the added functionality of persisting graphs to ArangoDB. For an understanding of how to use NetworkX, refer to the NetworkX Documentation.

Expect documentation to grow over time: