Diagram Set Fundamentals
Section titled “ Diagram Set Fundamentals”A Diagram Set is the structural backbone of Architecture Diagrams (C4 Diagrams) in Nodinite. It groups related C4 views into one coherent, navigable architecture story and keeps those views connected through shared Repository bindings. For the business view of sets, see What is a C4 Diagram Set?.

Animated walkthrough on the Azure example set: the set's properties, its diagrams in the states Draft, Active, and Archived, the coverage matrix, and one diagram opened from the set.
Set Properties
Section titled “ Set Properties”A set's header shows its properties, and Edit opens Edit Diagram Set:
| Property | Meaning |
|---|---|
| Name, Description | What the set covers, such as Order-to-Cash |
| Web Site | A link for the set, such as the team's wiki |
| Tags | Tags to find and group sets |
| Set Mode | Layered Mode or Free Draw (see below). Changing it asks you to confirm I understand and want to change the mode for this set and its existing diagrams. |
| Roles | Assign Roles to Diagram Set: the Roles that may see and work with the set |
The set page also has New Diagram, Import, and Export, which writes every diagram as SVG, PNG, or Mermaid, Structurizr DSL, PlantUML, or Draw.io markup into one ZIP (Export and Sharing).
What a Diagram Set Organizes
Section titled “What a Diagram Set Organizes”A Diagram Set groups all relevant architecture views for one software system, such as Order-to-Cash or Private Banking. A set holds many Architectural Scopes, and each scope is one System (Portal, ERP, …): each System can have its own L1 and L2. New 7.12 An L3 also has a Subject, the Service or Contract whose inside it shows, so one System can have many L3s, one per Service.
Repository└── Architecture Diagrams └── Diagram Sets └── Order-to-Cash ├── L0 - System Landscape ├── L1 - Context ├── L2 - Container (ERP) ├── L2 - Container (Portal) ├── L3 - Component (scope ERP-Finance, subject INT1337-INV-Order-Invoiced) ├── Dynamic - Runtime Checkout Flow └── Deployment - ProductionThis structure keeps communication, design, and runtime understanding aligned under one named set instead of spreading diagrams across disconnected files.
Coverage Matrix
Section titled “Coverage Matrix”The coverage matrix has a Landscape row and one row per System, with a column per C4 level. New 7.12 A cell with more than one diagram shows the count and opens the cell browser, where Component cells list the Subject. The counts follow the sets and diagrams you may open.

Example of the coverage matrix of the Order-to-Cash Demo set: one row per System, and a count where a System has several Component diagrams, one per Service.
Architecture Scope Model
Section titled “Architecture Scope Model”New 7.12 The Architectural Scope is always one System. Which diagram types need one, and what an L3 adds:
| Diagram type | Architectural Scope | Subject |
|---|---|---|
| System Landscape (L0) | none (the whole set) | none |
| Context (L1) | one System, required before Active | the scope |
| Container (L2) | one System, required before Active | the scope |
| Component (L3) | one System, required before Active: where the diagram lives | a Service or Contract (optional) |
| Dynamic | none or one System | the scope |
| Deployment | none or one System | the scope |
Domains, Services and Integrations are no longer scopes. An older diagram that breaks these rules still opens, moves and renames; a save that changes a refused scope, binding or shape gets the rule's message.
The active-state rule: a set has one Active diagram per type, scope, subject and mode, and any number of Drafts. Only Dynamic is exempt: several Dynamics can be Active for the same scope. A System Landscape is not exempt: one Active L0 per set and mode.
Diagram Set: Order-to-Cash Demo
(no scope) System Landscape Dynamic: INT1337 - Order-to-Cash Flow Deployment: on servers
Portal (Scope) Context Container Component (subject INT1337-RCV-Order-Incoming) Component (subject INT1337-SND-Order-Incoming)
ERP (Scope) Context Container Component (subject INT1337-ENT-Order-Entry)The Order-to-Cash Demo set fills this out to 25 diagrams.

Animated walkthrough: a Component diagram takes a scope and a subject, whether you create it or import it; the subject boundary is read-only, the subject changes in Edit Properties, and the coverage matrix counts the Component diagrams per System.
Why Sets Matter
Section titled “Why Sets Matter”| Without sets | With Diagram Sets |
|---|---|
| L1 and L2 diagrams are isolated documents | Context, Container, and Component views stay connected |
| Teams search manually for follow-up diagrams | Inferred navigation pills point to the next-level diagrams |
| Diagram names drift and duplicate over time | Repository bindings keep entity identity consistent |
| Work-in-progress and published views mix together | Draft, Active, Archived lifecycle gives clear governance within each architectural scope |
Layered Mode and Free Draw by Scope
Section titled “Layered Mode and Free Draw by Scope”| Mode | Scope usage | Node and boundary behavior | Propagation |
|---|---|---|---|
| Layered Mode | Scope is the architectural contract between related C4 views | Adding or removing nodes and boundaries propagates to the set's related Layered Drafts, found through the inferred relations | Keeps the bindings consistent across the related Drafts; Active and Archived diagrams are left alone |
| Free Draw | Scope still provides context and organization | Nodes and boundaries can be edited without affecting other Draft diagrams, regardless of scope | No propagation |
In short, Layered Mode and Free Draw trade continuity for isolation:
- Free Draw supports isolated editing.
- Layered Mode supports scope-driven architectural continuity across zoom levels.

Animated walkthrough: in Layered Mode, adds and removes reach the related Drafts without any stored link.
How Navigation Is Inferred
Section titled “How Navigation Is Inferred”New 7.12 Nothing is created or stored. Each time a diagram opens, Nodinite works out its navigation pills from the diagram type, the scope and subject, and each element's binding, inside the set.
For example:
- The L1 Context has a node bound to
System: ERP. - The L2 Container is scoped to
System: ERP. - The ERP node shows an Inside pill to that L2.
From L2 to L3 the same works when the Service or Contract node's binding equals the L3's Subject (not its scope).
Diagram type+Scope and Subject+Element bindings->Navigation pills (Inside, Context, Dynamic, Owner, Zoom out, Related view)The Related Diagrams panel lists the inferred and the manual entries, each with a kind badge and an Inferred or Manual badge; Remove shows only on manual entries. A node's pill popover groups the inferred entries under their pill's name and the manual links under their link type. After a scope change, the pills are recomputed on the next open. See Navigation Between C4 Diagrams.
Diagram Lifecycle States
Section titled “Diagram Lifecycle States”Every diagram in a set has one lifecycle state:
| State | Meaning |
|---|---|
| Draft | Work in progress for editing and validation |
| Active | Current published diagram shown as canonical view |
| Archived | Older historical version retained for reference |
Promoting a Draft replaces the diagram it was cloned from and, except on a Dynamic, the Active diagram of the same set, type, scope, subject and mode; the replaced diagram is Archived. A Dynamic Draft that wasn't cloned replaces nothing (see Diagram Lifecycle). Archived diagrams are never navigation targets, and the coverage matrix counts only Active and Draft diagrams. The Web API, the MCP tools, and the Log Audits text call the Archived state Deleted: a Promote is audited as State: Active → Deleted.
Changing scope is not cosmetic. It changes which pills the diagram gets, and a manual link pointing at it may turn Stale.
Core Routes in the User Journey
Section titled “Core Routes in the User Journey”| Route | Purpose |
|---|---|
/Repository/C4DiagramSets/{setId} |
One Diagram Set and its diagrams |
/Repository/C4DiagramSets/{setId}/Diagrams/{id} |
The diagram page, with the interactive view and the Mermaid View |
/Repository/C4DiagramSets/{setId}/Diagrams/{id}/design |
The C4 Designer |
/Repository/C4Diagrams/{id} |
Short link that redirects to the diagram page |
/Repository/C4Diagrams/{id}/view |
Redirects to the diagram page |
/Repository/C4Diagrams/{id}/design |
Redirects to the set's C4 Designer for the diagram |
/Repository/C4Diagrams/compare |
Compare two diagrams |
/Repository/C4Dynamic |
The Dynamic diagram generated from a BPM |
/Repository/C4Diagrams/{id}/mermaid |
Raw Mermaid markup as plain text (text/plain) |
/api/C4Diagrams/{id}/export.{extension} (Web API) |
Export as svg, png, md, dsl, puml, or drawio (see Export and Sharing) |
The Administration area has the same routes under /Admin/….
Operational Guidance
Section titled “Operational Guidance”- Keep one set per software system: the inferred pills stay inside the set
- Use Draft for collaborative design reviews before promotion
- Use Active for stakeholder-facing architecture
- Keep Archived diagrams for traceability and change history
For set-wide maintenance workflows, use Diagram Assistance. Navigation needs no maintenance; see Navigation Between C4 Diagrams.
Next Steps
Section titled “ Next Steps”- Back to Architecture Diagrams Overview
- C4 Designer - Interactive Canvas
- Diagram Assistance
- Creating Your First C4 Diagram