← c4studio
· This site was generated by
c4 publish
from
the model of c4studio itself
.
c4studio
c4studio described in its own DSL, rendered by itself.
Start
Overview
Views
c4studio – System Landscape
systemLandscape
c4studio – System Context
systemContext
c4studio – Containers
container
Core Library – Components
component
Web Backend – Components
component
Studio SPA – Components
component
Diagram Core – Components
component
VS Code Extension – Components
component
Dynamic – typing a change and seeing it
dynamic
Dynamic – the same diagram, with no browser
dynamic
Developer machine – one process, one browser
deployment
CI – the same code, headless
deployment
c4studio – What works offline
filtered
Documentation
c4studio, described in its own DSL
Why Node appears exactly once
Decisions
Record architecture decisions
Accepted
The editor edits text, never the model
Accepted
Every renderer consumes one view graph
Accepted
CI – the same code, headless
CI – the same code, headless
GitHub Actions runner
[Deployment Node: ubuntu-latest]
c4studio action step
[Deployment Node: composite action]
Python 3.13
[Deployment Node: CPython]
Node 18+
[Deployment Node: Node.js]
Checkout
[Deployment Node: Filesystem]
GitHub Action
[Container: composite action,
YAML]
Renders every view as SVG on
push, and optionally commits them
or comments on the pull request.
CLI
[Container: Python, click]
generate, render, export, check,
list-views, webapp, new.
Core Library
[Container: Python 3.13]
Parsing, the domain model, the
view graph and the generators.
Pure Python, no I/O beyond reading
source files.
Headless Renderer
[Container: JavaScript (bundled),
Node 18+]
Committed build artefact: diagram-
core bundled for Node, so the
wheel renders SVG without an npm
install. The only part of c4studio…
Workspace Sources
[Container: Files on disk]
The user's .dsl and .json files,
including !include fragments. The
source of truth; c4studio never
generates them from the model.
Parses and generates through
Invokes `c4 render`
Pipes the graph payload to
Container Instance
File Store
Boundary
Relationship