Loading
XN Logic Corporation
This is a live streamed presentation. You will automatically follow the presenter and see the slide they're currently on.
Brought to you by
Vertices
(aka nodes)
Edges
(aka relations)
+
Undirected
Directed
vs.
Without
With Vertex Properties
vs.
Without
With Edge Labels
vs.
Conceptually simple,
yet extremely flexible ...
One way of representing the data in a property graph ...
So far, we've seen an abstract model.
In practice, we will need a graph database.
A graph database is software that:
There are a number of graph databases out there:
Databases differ in many aspects:
Things to consider ...
Which graph database is the best?
Depends on your use-case.
Luckily, we don't have to commit to one database...
If you haven't done so already, you may want to install Pacer and its dependencies.
Graph traversal
Data Modeling
user.as(:me)
.out_e(:friend).in_v(type: "user").as(:my_friends)
.out_e(:friend).in_v(type: "user")
.is_not(:me).is_not(:my_friends)
becomes ...
user.suggest_friends