From a1f72a85bfa18e22f039b8e94ef41afc3bd751ed Mon Sep 17 00:00:00 2001 From: Michael Hackstein Date: Tue, 17 Jun 2014 09:56:10 +0200 Subject: [PATCH] Moved first steps of grpah module into its readme --- Documentation/Books/Users/General-Graphs/README.mdpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/Books/Users/General-Graphs/README.mdpp b/Documentation/Books/Users/General-Graphs/README.mdpp index cb189d49af..36c91fa1d1 100644 --- a/Documentation/Books/Users/General-Graphs/README.mdpp +++ b/Documentation/Books/Users/General-Graphs/README.mdpp @@ -4,3 +4,11 @@ This chapter describes the multi-collection graph module. It allows you to define a graph that is spread across several edge and document collections. This allows you to structure your models in line with your domain and group them logically in collections and giving you the power to query them in the same graph queries. There is no need to include the referenced collections within the query, this module will handle it for you. + +!SECTION First Steps with Graphs + +A Graph consists of *vertices* and *edges*. Edges are stored as documents in *edge +collections*. A vertex can be a document of a *document collection* or of an edge +collection (so edges can be used as vertices). Which collections are used within +a graph is defined via *edge definitions*. A graph can have an arbitrary number of edge +definitions.