Skip to main content

Module graph

Module graph 

Source
Expand description

The derived dependency graph (ARCHITECTURE.md §1).

Wiring is interpolation, and the graph is derived from it — never declared separately. Two edge classes fall out of the namespace:

  • ${integrations.X.output} is an ordering edge: outputs exist only after the integration is provisioned.
  • ${services.X.origin} is wiring only: origins are derivable from the instance name alone on every substrate, so mutual references (api ↔ web CORS) are recorded but never order startup — which is exactly why they are not cycles.

Representation, ordering, and cycle detection all live in oxgraph: the nodes and ordering edges feed a GraphBuilder, topological_sort yields the startup order, and on the rare cycle strongly_connected_components names the members for the error.

Structs§

DependencyGraph
The graph derived from one validated definition.

Enums§

Node