Model a Book Graph
Explore how to build a book graph in Elixir by defining nodes for books, authors, and publishers, and creating edges that represent authorship and publication. Understand how to assign properties to nodes and relationships, and see how this model serves as a foundation for querying and comparing graph representations.
We'll cover the following...
We'll cover the following...
Book graph
We’ll explore some different graph models, so it might be handy to have a reference graph that we can use to gauge how each model behaves. Let’s do that by creating a simple graph for a book catalog.
We’ll start by populating our book graph with bibliographic details for one book: Adopting Elixir by Ben Marx, José Valim, and Bruce Tate.
The reason for this simple exercise is ...