Skip to Main Content
Exploring Graphs with Elixir
book

Exploring Graphs with Elixir

by Tony Hammond
November 2022
Intermediate to advanced content levelIntermediate to advanced
294 pages
5h 58m
English
Pragmatic Bookshelf
Content preview from Exploring Graphs with Elixir

Modeling the Book Graph

Recall the book graph we introduced in our first chapter. (You might want to refer back to Modeling a Book Graph, for specific details.) This is a simple reference graph we created to test implementations under different graph models. We’re defining a book catalog where each catalog entry has book, author, and publisher entities and a few basic properties.

We want to implement the book graph now using libgraph. Note that libgraph supports labels that we can use for the node and edge types. And while it allows for node properties, we have to exclude edge properties since libgraph doesn’t natively support them. Of course, this is something of a requirement as far as implementing a property graph is concerned, but we’ll ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Concurrent Data Processing in Elixir

Concurrent Data Processing in Elixir

Svilen Gospodinov

Publisher Resources

ISBN: 9798888650059Errata Page