Store Graphs in the Graph Store
Learn how to create wrapper functions for reading and writing native graphs to the graph store.
We'll cover the following
Although we can enter the graph data interactively, it can get a little tiresome after a while. We’d rather read our graphs back from a filestore, so we'll need to be able to write the graphs out to some text format—that is, to serialize the graph data structures—for disk-based storage.
DOT vs. plaintext
The libgraph
package includes two serialization functions in the Graph
module: to_dot/1
and to_edgelist/1
.
Get hands-on with 1200+ tech skills courses.