Appendix 3Graph Anatomy
Graphs are data models used to manage relationships between things. Or as Wikipedia[122] puts it, graphs are:
“… data structures used to model pairwise relations between objects.”
“Objects” here can be any things, or entities if that’s a better word for you. And “pairwise relation” simply means some kind of link or connection between a pair of these things (or objects or entities).
Now, in math terms, a graph is an ordered pair consisting of a vertex set (representing objects) and an edge set (representing links between objects), or G = (V,E) in the usual math notation, as shown in the following figure.
The vertex set ...
Get Exploring Graphs with Elixir now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.