Data Model¶
Grafeo implements the Labeled Property Graph (LPG) model, the most widely used data model for graph databases.
Overview¶
A Labeled Property Graph consists of:
- Nodes - Entities in your graph (people, products, locations)
- Edges - Relationships between nodes (KNOWS, PURCHASED, LOCATED_IN)
- Labels - Categories for nodes (Person, Product, Location)
- Types - Categories for edges (relationship types)
- Properties - Key-value pairs on nodes and edges
graph LR
A[Alice<br/>:Person<br/>age: 30] -->|KNOWS<br/>since: 2020| B[Bob<br/>:Person<br/>age: 25]
B -->|WORKS_AT| C[Acme Inc<br/>:Company] Learn More¶
-
Understanding nodes, their labels, and multi-label support.
-
Creating and working with edges between nodes.
-
Property types, values, and schema considerations.