Foundry. Context. GraphBuilder
(foundry v0.1.2)
Copy Markdown
Assembles the complete project graph by collecting all nodes and deriving edges between them based on structural and behavioral relationships.
Edge derivation rules:
- Reactor
:create/:updatesteps → resource:writesedge - Reactor
:read/:read_onesteps → resource:readsedge - Oban worker with
@performs→ Reactor:asyncedge - Resource
belongs_torelationship:referencesedge - Resource
has_many/has_onerelationship:referenced_byedge
Summary
Functions
@spec build(String.t(), list()) :: {[Foundry.Context.NodeEntry.t()], [Foundry.Context.EdgeEntry.t()]}