Model Simple Data in a Graph For Use in Neo4J

InstructorMatt Ross

Share this video with your friends

Send Tweet

We will learn how to apply a graph mindset to the data available in SWAPI to fit it into the Neo4J paradigm. We will use Alistair Jones' "Arrow Tool" to easily visualize our model as we build it.

Tony Catalfo
~ 2 years ago

How do you represent a list in a graph using a tool like arrow?

Matt Rossinstructor
~ 2 years ago

Tony, one possible approach is to represent your items as a linked list.

If you have, for instance, a list like [a, b, c], you could represent it in the graph with next/prev relationships:

(a)-[:NEXT]->(b)-[:NEXT]->(c),
(a)<-[:PREV]-(b)<-[:PREV]-(c)