← c4studio · This site was generated by c4 publish from the model of c4studio itself.

Developer machine – one process, one browser

Developer machine – one process, one browserLaptop [Deployment Node: OS]Python 3.13 environment [Deployment Node: CPython]Node 18+ [Deployment Node: Node.js]Browser [Deployment Node: Chrome, Firefox or Safari]VS Code [Deployment Node: Electron]Working copy [Deployment Node: Filesystem]CLI[Container: Python, click]generate, render, export, check,list-views, webapp, new.Core Library[Container: Python 3.13]Parsing, the domain model, theview graph and the generators.Pure Python, no I/O beyond readingsource files.Web Backend[Container: Python, FastAPI]Serves the JSON API and the builtSPA. Holds all mutable state on oneinjected AppState rather than inmodule globals.Headless Renderer[Container: JavaScript (bundled),Node 18+]Committed build artefact: diagram-core bundled for Node, so thewheel renders SVG without an npminstall. The only part of c4studio…Studio (SPA)[Container: TypeScript, React, Vite]The browser app: browse, read,edit, and watch the diagram followthe text.Diagram Core[Container: TypeScript, npmworkspace]The renderer-agnostic diagramlayer. Knows nothing about the APIor app state, which is what lets theheadless renderer and the SPA…VS Code Extension[Container: TypeScript, esbuild,.vsix]DSL highlighting, inline diagnostics,and a preview that draws one viewas an SVG beside the editor. Runswhatever c4studio is on the…Workspace Sources[Container: Files on disk]The user's .dsl and .json files,including !include fragments. Thesource of truth; c4studio nevergenerates them from the model.Layout Sidecars[Container: JSON files]<source>.layout.json — per-user UIstate, gitignored, written next tothe source.Parses and generates throughParses and builds view graphsthroughReports skipped constructs toWrites atomically toReads and writesLays out and draws withCallsRenders one view as SVG withStarts on request, for Open inStudioOpens in a browser onrequestHighlightsIs the bundled form ofPipes the graph payload toContainer InstanceFile StoreBoundaryRelationship