Skip to main content
Version: Next

Step 7: Explore Everything in the Graph

In EP, the data model is data too: the entity type Movie, its properties and the relationship type has_cast are entities, just like the movie The Matrix. In this step you see all of it in one graph — starting from a single movie. Background: Graph Browser and Core Principles.

Start From a Movie​

  1. Open the movie The Matrix (1999) — for example via Movie Database → Movies in the sidebar.
  2. Click the ship wheel Open in Graph Browser. The graph browser opens in a new browser tab with one node for the movie.

The Data: Movie and Actors​

  1. On the movie node, click the eye View Existing.
  2. Under Outgoing Relationships, click the row Cast. All actors of the movie appear — Keanu Reeves and Carrie-Anne Moss — connected by arrows labeled has_cast.
  3. Open the eye menu on Keanu Reeves. Under Incoming Relationships you find the same relationship from the other side: the movies he plays in.

The Model: Entity Types​

  1. Open the eye menu on the movie again and choose Typed by. The entity type Movie appears, connected by a dashed, animated arrow. Entity types are always shown in magenta.
  2. Do the same on Keanu Reeves: the entity type Actor appears.

You now see the difference between data and model at a glance: the movie and the actors are instances; Movie and Actor are the types they are built from.

The Model in Detail: Properties and Relationship Type​

  1. Open the eye menu on the entity type Movie. Its outgoing relationships are the parts of the model you created in steps 2 and 3:
    • Properties (has_prop) — click it to add Title, Release year, Runtime (minutes) and Genre. Each node is the property type behind the property, for example string_property_type/generic.
    • Relationships (has_rel) — click it to add the relationship type has_cast.
  2. Open the eye menu on has_cast. Its target type is Actor — the circle closes: the movie points to its actors through has_cast, and the model says that has_cast leads from Movie to Actor.
  3. Follow the property Genre on Movie to the enum property type genre, and from there to the enum with its entries — the genre list from step 1.

Tidy Up the Graph​

The graph is now quite full. Use the toolbar:

  • Vertical layout arranges everything from top to bottom.
  • Fit view zooms so that all nodes are visible.
  • Zoom out below 25 %: every entity becomes a colored dot — data and model in one picture.
Save the view

Click Save as new view in the toolbar and name it Movie Database – model and data. You can open it again later, and your colleagues can see it too — see Saved Views.

Check​

  • The graph shows the movie, its actors, the entity types Movie and Actor, the properties of Movie, the relationship type has_cast and the genre enum.
  • You can explain which nodes are data (instances) and which are the model (types).

Next: a custom overview page for movies in the View Designer — this step will follow.