6 best Ruby Graph Database libraries in 2023
by Open Weaver kits ✔ Updated: Feb 12, 2023
Ruby Graph Database libraries like activegraph, rgl, pacer and others provide a simple way to build a graph database. These libraries allow you to store graphs in Ruby objects without having to write any code for the storage or query layer. You can even use Ruby to query your graph data! ActiveGraph is an open source Ruby library for working with graphs. It provides functionality for reading from and writing to CSV files, but doesn't have any built-in graph storage capabilities. RGL is another open source library for storing graph data in CSV files. It's similar to ActiveGraph in that it doesn't provide any built-in graph storage capabilities, but it does include methods for creating and querying graphs over CSV files. Pacer is a Ruby gem that allows you to easily store and query graphs in PostgreSQL by using SQL queries such as "SELECT * FROM users." Developers tend to use some of the following open source Ruby Graph Database libraries:
An active model wrapper for the Neo4j Graph Database for Ruby.
Ruby 1375 Version:v5.0.1 License: Permissive (MIT)
RGL is a framework for graph data structures and algorithms in Ruby.
Ruby 361 Version:v0.6.2 License: Others (Non-SPDX)
Neo4jr-Social is a self contained HTTP REST + JSON interface to the graph database Neo4j. Neo4jr-Social supports simple dynamic node creation, building relationships between nodes and also includes a few common social networking queries out of the box (i.e. linkedin degrees of seperation and facebook friend suggestion) with more to come. Think of Neo4jr-Social is to Neo4j like Solr is to Lucene.
Ruby 167 Version:Current License: Permissive (MIT)
The easiest way to graph data from your Rails models
Ruby 118 Version:Current License: Permissive (MIT)