Graph persistence
Typed model configuration, node/edge sets, traversal, includes, change tracking and graph mutations.
GORM makes nodes, edges and traversals first-class .NET concepts. Query connected data with a strongly typed API, inspect the SQL shape, test the same model in memory and reason about graph history over time.
var projects = await context.Set<PersonNode>()
.Where(x => x.Id == personId)
.Outgoing<WorksOnEdge, ProjectNode>()
.ToListAsync();SELECT target.*
FROM PersonNode source,
WorksOnEdge edge,
ProjectNode target
WHERE MATCH(source-(edge)->target)
AND source.Id = @personId;Inspect this query in the playground →Start small, then move from the graph model into traversal, runnable examples, query translation, history and testing.
Define a node and edge and run the first typed traversal.
Start here → 02 · CONCEPTSNodes, edges, identity, relationship direction and the persistence boundary.
Read concepts → 03 · EXAMPLESOpen focused traversal, paging, temporal and Include examples directly in the inspector.
Browse examples → 04 · PLAYGROUNDEdit LINQ and inspect graph anatomy, parameters, translation stages and SQL shape.
Open playground →GORM promotes graph intent into the API: traverse relationships directly when the path matters, or load navigation properties when the object graph is the more useful result shape.
Move from one typed node set to another through an explicit edge type.
Materialize related graph state when you want a connected object graph.
Inspect connected state at a moment in time instead of only current rows.
Use the same graph model in fast deterministic tests while keeping provider integration tests explicit.
Typed model configuration, node/edge sets, traversal, includes, change tracking and graph mutations.
Node and edge history for current and point-in-time graph inspection.
Centrality, routing, components, communities, impact and versioned projections.
Query analysis, generated SQL inspection and semantics-preserving graph-query optimization.
Move from a runnable query to concepts, traversal, temporal behavior and advanced capabilities without hunting through one long landing page.