Introducing the ArangoDB-NetworkX Adapter

ArangoDB
ArangoDB
Published in
2 min readFeb 24, 2022

--

Introducing the ArangoDB-NetworkX Adapter

We are proud to announce the GA 3.0 release of the ArangoDB-NetworkX Adapter!

The ArangoDB-Networkx Adapter exports Graphs from ArangoDB, a multi-model Graph Database, into NetworkX, the swiss army knife for graph analysis with python, and vice-versa.

Back in November 2021, we (quietly) released its 1.0 distribution, which overhauled the adapter in its entirety. We refactored its existing feature of converting ArangoDB graphs to NetworkX, and introduced the ability to convert NetworkX graphs to ArangoDB, via a range of developer-friendly options. It’s also open source!

This latest major release complements previous overhaul & restoration changes by optimizing adapter functionality, polishing its codebase, and improving documentation. For more information on what’s changed between the 2.0 & 3.0 releases, see networkx-adapter/releases/tag/3.0.0.

This blog post will serve as a walkthrough of the ArangoDB-NetworkX Adapter, via its official Jupyter Notebook.

We will cover the following use cases:

  1. ArangoDB to NetworkX

Via an ArangoDB graph

Via a set of ArangoDB collections

Via a user-defined metagraph

2. NetworkX to ArangoDB

Homogeneous graphs

Heterogeneous graphs

3. Full Cycles

ArangoDB → NetworkX → ArangoDB

NetworkX → ArangoDB → NetworkX

Check it out on github

ArangoDB NetworkX Adapter Getting Started Guide

Author

Anthony Mahanna

Anthony is an Honours Computer Science student at the University of Ottawa, Canada. He first discovered ArangoDB’s multi-model services while working on his image repository side project. After presenting his side project in an ArangoDB Community Pioneer session, Anthony transitioned to working with the Core & ML teams as an SWE intern.

Image- Anthony Mahanna
Image- Anthony Mahanna

--

--

ArangoDB
ArangoDB

The Most Complete And Scalable Graph Database For Real-world Use Cases