What is connected?
Follow a declared relation in either configured direction to find adjacent records.
Graph
Model relationships between records, traverse them with Cypher or the graph API, and explore the paths that connect them.
An order belongs to a customer. A document covers a topic. Declare those connections and query them alongside the records they describe.
Connect a source field to another table's primary key. Row writes maintain the edge indexes for that declared relationship.
Start from a record, follow bounded hops and filter the records you reach. Use Cypher or choose a dedicated graph endpoint.
Cypher supports a defined subset. Start traversals with a record's primary key; some algorithms require relations within one table.
Try a bounded traversalA customer's ID on an order is already a connection. Give that field a named relation so the engine can follow it.
The value written on each order.
The name used in a graph query.
The customer the order points to.
[[relations]]
name = "placed_by"
from_col = "customer_id"
bidirectional = true
[relations.target]
namespace = "shop"
table = "customers"
pk = "id"A nearby record, a route and an influential node are different questions. Start with the smallest traversal that answers yours.
Follow a declared relation in either configured direction to find adjacent records.
Explore a neighbourhood with BFS, or choose a path method for the route you need. Set a depth bound.
Run PageRank over a nominated set of nodes or evaluate community methods. Check each algorithm's relation requirements first.
Pin the starting record and return the properties your application needs.
Explore graph queriesMATCH (o:orders {id: 'order-42'})
-[:placed_by]->(c)
RETURN c.id, c.name;Keep business fields and graph relations in one engine, using the same record identities throughout your application.
Define a graph schemaFind neighbours and paths, then explore ranking or community algorithms for the questions your relation can answer.
Explore graph methodsFollow related people, topics or products after a search result to give your application more useful context.
Explore retrieval patternsDeclare source fields, target tables and traversal direction before writing records that form your graph.
Graph schema guideCompare traversal, path, ranking and community endpoints, with request examples and the relation requirements for each.
Graph API reference