NativeGraph Project
Learn how to build a NativeGraph project to manage graphs natively with Elixir.
We'll cover the following
To support working with the libgraph
package, we’ll create the NativeGraph
project, which will provide us with an environment for running a dedicated graph store.
Why libgraph
?
The libgraph project page provides a rationale for why this package was developed. Basically, it addresses a number of shortcomings in the Erlang module digraph
, both in regards to performance and extensibility. And moreover, it provides an idiomatic Elixir API for manipulating graphs, which allows functions to be pipelined by passing along a Graph
struct as their first parameter.
Create the project
Let’s cd
down into the apps
directory of our ExGraphsBook
project and create a new project, NativeGraph
, using the following command:
Get hands-on with 1200+ tech skills courses.