mjdi

Search documentation

Search the mjdi v0.10.0 documentation

mjdi dependency graph viewer

An interactive view of the compile-time dependency graph, consuming real mjdi.graph/1 exports — the output of graph_json[registry](). The fixtures are regenerated from the library by scripts/export_graph_fixtures.sh; CI verifies they never drift.

Read the graph visualization guide · Export your own graph

Fixture:Loaded: showcase.json
Providers:
Lifetimes:
ShowcaseConfigvalue · transientCachedclass · singletonMetricsfactory · singletonGatewayclass · singletonReadModelalias · singleton · →CachedSessionclass · scopedWorkerclass · transient

Select a node to inspect it

Click a node to highlight its dependency paths and inspect its provider, registration, lifetime, and validation status.

Load your own export

Paste the output of graph_json[type_of(registry)]() (schema mjdi.graph/1):

Zoom: mouse wheel. Pan: drag. Invalid nodes (missing providers, cycles) carry the red border and the ✻ marker; alias edges are dashed; linear services render with a hexagon marker. Zoom, pan, filters, and selection all apply to the exports in the SVG/PNG/DOT buttons.

Static host note: on the GitHub Pages export the fixture loading uses the baked base path (root); the paste loader works everywhere.