DI Container Resolution Graph (2D)
Interactive 2D dependency-injection container: watch a real depth-first resolver walk a service graph on a pannable/zoomable canvas, cache singleton instances, spawn fresh transient ones, and catch circular dependencies before they crash the app.
Mobile dependency-injection frameworks like Dagger/Hilt, Koin and Swinject all boil down to the same algorithm: a depth-first walk of a declared service graph that instantiates each dependency exactly once for a singleton scope, fresh every time for a transient scope, and fails fast the moment it re-enters a node it is still in the middle of resolving. This 2D canvas simulator renders that graph — App at the root, UserRepository, AnalyticsService, ApiClient, Database, NetworkSession and a shared Logger leaf — on a pannable, zoomable stage. Press Resolve to watch the container walk it step by step with a live call-stack panel, toggle any service between Singleton and Transient to see the instance count change live, and deliberately introduce a circular import to watch the resolver catch it instead of stack-overflowing.
Interactive 2D canvas dependency-injection container: watch a real depth-first resolver walk a mobile app's service graph on a pannable, zoomable stage with a live call-stack panel, cache singleton instances, spawn fresh transient ones, and catch circular dependencies before they crash the app.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install