---
title: Diagram Set Fundamentals - Architecture Scope, Layered Mode, and Navigation
description: "Understand Diagram Set fundamentals in Nodinite: how one set groups a software system, how Architecture Scope anchors C4 levels, how Layered Mode and Free Draw differ, and how coverage, inferred navigation pills, lifecycle states, and routes work."
---

# :fa-folder: Diagram Set Fundamentals

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

![Repository, Diagram Sets, a set's header with its name and description, Edit Diagram Set with Name, Description, Web Site, Tags, Set Mode, and the Roles card, its diagrams by level and state with one Archived, one Active, and two Draft, the coverage matrix, and a diagram opened from the set, animated walkthrough (7.13)][Hero]  
*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.*  

## :fa-sliders: Set Properties {#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](#layered-mode-and-free-draw-by-scope)). 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

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][Systems] (Portal, ERP, …): each System can have its own L1 and L2. :new7.12: An L3 also has a **Subject**, the [Service][Services] or [Contract][Contracts] whose inside it shows, so one System can have many L3s, one per Service.

```text
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 - Production
```

This structure keeps communication, design, and runtime understanding aligned under one named set instead of spreading diagrams across disconnected files.

## Coverage Matrix

The coverage matrix has a Landscape row and one row per System, with a column per C4 level. :new7.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.

![Coverage matrix of the Order-to-Cash Demo set: a Landscape row covering 4 scopes, then ERP, ERP-Finance, Portal and WMS with Active Context, Container and Component cells, the Component cells counting 4 or 2, and Dynamic and Deployment Optional (7.12)][1]  
*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

:new7.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][Systems], required before Active | the scope |
| Container (L2) | one [System][Systems], required before Active | the scope |
| Component (L3) | one [System][Systems], required before Active: where the diagram lives | a [Service][Services] or [Contract][Contracts] (optional) |
| Dynamic | none or one [System][Systems] | the scope |
| Deployment | none or one [System][Systems] | 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.

```text
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][Build the Order-to-Cash C4 set] fills this out to 25 diagrams.

![New Diagram of type Component with the Architectural Scope Portal and the Subject INT1337-RCV-Order-Incoming, an imported L3 whose Container Boundary is bound read-only to the subject, the Subject changed in Edit Properties, and the coverage cell of Portal counting 2 Component diagrams with their subjects, animated walkthrough (7.13)][2]  
*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

| 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

| 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.

![A Layered set with no stored links: a Container added on the Portal's L2 Draft already leads Inside to the L3 whose subject is its Service, and ERP deleted from the L2 is gone from the Portal's L1 Draft too, animated walkthrough (7.13)][3]  
*Animated walkthrough: in Layered Mode, adds and removes reach the related Drafts without any stored link.*  

## How Navigation Is Inferred {#how-drill-through-navigation-works}

:new7.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).

```text
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

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][Log Audit Search] 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

| 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][BPMs] |
| `/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

* 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][Diagram Assistance]. Navigation needs no maintenance; see [Navigation Between C4 Diagrams][].

## :fa-hand-point-right: Next Steps

* :fa-sitemap: [Back to Architecture Diagrams Overview][Architecture Diagrams]  
* :fa-pen-ruler: [C4 Designer - Interactive Canvas][C4 Designer]  
* :fa-wand-magic-sparkles: [Diagram Assistance][Diagram Assistance]  
* :fa-rocket: [Creating Your First C4 Diagram][Creating Your First C4 Diagram]  

## :fa-link-horizontal: Related Topics

* :fa-circle-question: [What is C4 Diagrams?][What is C4 Diagrams]  
* :fa-circle-question: [What is a C4 Diagram Set?][What is a C4 Diagram Set]  
* :fa-code-branch: [Diagram Lifecycle][]  
* :fa-route: [Navigation Between C4 Diagrams][]  
* :fa-file-import: [Import][Import]  
* :fa-sitemap: [Generate from Integration Landscape][Generate from IL]  
* :fa-code: [Mermaid View - Read-Only Rendering][Mermaid View]  
* :fa-share-nodes: [Export and Sharing][Export and Sharing]  
* :fa-list-check: [Repository Properties for C4 Diagramming][Repository Properties for C4 Diagramming]  

[1]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/C4/Set/Suggestions_Coverage_Demo.png
[2]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/C4/Set/C4_ScopeAndSubjectInTheWebClient.gif
[3]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/C4/Set/C4_LayeredPropagation.gif

[Architecture Diagrams]:{ndr}/Repository%20Model/C4%20Diagrams/Overview.md
[BPMs]:{ndr}/Repository%20Model/BPMs/Overview.md
[Build the Order-to-Cash C4 set]:{ndr}/Repository%20Model/C4%20Diagrams/Getting%20Started/Examples/Order-to-Cash/Build%20the%20Order-to-Cash%20C4%20set.md
[C4 Designer]:{ndr}/Repository%20Model/C4%20Diagrams/Features/C4%20Designer.md
[Contracts]:{ndr}/Getting%20Started/4.%20Repository/Contracts/Overview.md
[Creating Your First C4 Diagram]:{ndr}/Repository%20Model/C4%20Diagrams/Getting%20Started/Creating%20Your%20First%20C4%20Diagram.md
[Diagram Assistance]:{ndr}/Repository%20Model/C4%20Diagrams/Features/Diagram%20Assistance.md
[Diagram Lifecycle]:{ndr}/Repository%20Model/C4%20Diagrams/Designer/Diagram%20Lifecycle.md
[Domains]:{ndr}/Repository%20Model/Domains/Overview.md
[Export and Sharing]:{ndr}/Repository%20Model/C4%20Diagrams/Features/Export%20and%20Sharing.md
[Generate from IL]:{ndr}/Repository%20Model/C4%20Diagrams/Features/Generate%20from%20Integration%20Landscape.md
[Hero]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/C4/Set/C4DiagramSet_Fundamentals.gif
[Import]:{ndr}/Repository%20Model/C4%20Diagrams/Features/Import.md
[Integrations]:{ndr}/Repository%20Model/Integrations/Overview.md
[Log Audit Search]:{ndr}/Administration/6.%20Tools/2.%20Log%20Audit%20Search.md
[Mermaid View]:{ndr}/Repository%20Model/C4%20Diagrams/Features/Mermaid%20View.md
[Navigation Between C4 Diagrams]:{ndr}/Repository%20Model/C4%20Diagrams/Features/Sync.md
[Repository Bindings]:{ndr}/Repository%20Model/C4%20Diagrams/Designer/Repository%20Bindings.md
[Repository Properties for C4 Diagramming]:{ndr}/Repository%20Model/C4%20Diagrams/Troubleshooting/Repository%20Properties%20for%20C4%20Diagramming.md
[Roles]:{ndr}/Administration/3.%20Access%20Management/1.%20Roles/Features/What%20is%20a%20Role.md
[Services]:{ndr}/Repository%20Model/Services/Overview.md
[Systems]:{ndr}/Repository%20Model/Systems/Overview.md
[Tags]:{ndr}/Administration/4.%20Customize/5.%20Tags/Features/What%20is%20a%20Tag.md
[Web API]:{ndr}/Core%20Services/Web%20API/Overview.md
[What is a C4 Diagram Set]:{ndr}/Repository%20Model/C4%20Diagrams/Features/What%20is%20a%20C4%20Diagram%20Set.md
[What is C4 Diagrams]:{ndr}/Repository%20Model/C4%20Diagrams/Features/What%20is%20C4%20Diagrams.md