---
title: What is C4 Diagrams? Architecture Scope, Layered Mode, and C4 Visualization
description: Learn what the C4 model is and how Nodinite C4 Diagrams build always-current architecture views from your live Repository Model, with Diagram Sets, Architecture Scope, Layered Mode and Free Draw, and links to monitoring and logging.
---

# :fa-layer-group: What is C4 Diagrams?

**C4 Diagrams** ([Architecture Diagrams][]) in :Nodinite: turn your existing [Repository Model][] into standard C4 architecture views that never go stale. Every node is bound to a real [System][Systems], [Service][Services] or [Contract][Contracts], every L3 Component to an [Endpoint][Endpoints], and every Domain boundary to a [Domain][Domains] (or left unbound), so the diagrams change when your integration landscape changes, and they connect straight to live monitoring and logging.

* ✅ Always current: diagrams read live Repository data instead of static drawings  
* ✅ Standard C4 notation, rendered and exported as Mermaid C4  
* ✅ [Diagram Sets][What is a C4 Diagram Set?] with inferred [navigation pills][Navigation Between C4 Diagrams] between zoom levels  
* ✅ Live health and [Remote Actions][] on Service and Contract nodes ([Monitoring][Monitoring C4])  
* ✅ Runtime diagrams on demand from grouped [Log Views][]  

![From the Order-to-Cash Demo set page: the Portal System Context, the Portal Container diagram, a Component diagram and the Dynamic diagram with its seven steps opened in turn, animated walkthrough (7.12)][Hero]  
*Animated walkthrough: one [Diagram Set][What is a C4 Diagram Set?], four views of the same architecture. The Portal's System Context and Container diagrams, the Component diagram of one of its Services, and the Dynamic diagram of the seven Order-to-Cash steps.*  

![Interactive C4 System Context diagram for the Order-to-Cash portal (7.12)][1]  
*Example of an L1 System Context diagram in the interactive view, with Repository-bound nodes and labelled connectors. :new7.12: Each bound node carries its navigation pills, and the **Related** panel lists inferred and manual entries.*  

## Understanding the C4 Model

Before exploring how :Nodinite: implements C4 Diagrams, it is useful to understand what the **C4 model** is and why it has become the industry standard for communicating software architecture.

The **C4 model** was created by [Simon Brown](https://simonbrown.je/)<sup>:fa-arrow-up-right-from-square:</sup> as a practical way to describe and communicate software systems. Its name comes from the four levels of zoom it defines:

| Level | Name | Audience | Shows |
|---|---|---|---|
| **L1** | **Context** | Everyone — business and technical | People, external systems, high-level relationships |
| **L2** | **Container** | Technical teams | Applications, services, databases, and the technology choices within a system boundary |
| **L3** | **Component** | Developers | Components inside a specific container |
| 4th level | **Code** | Very senior developers | UML-style class diagrams |

The key insight is that **most architectural communication only requires L1 and L2**. Detailed Component and Code diagrams are rarely shared beyond the development team.

:Nodinite: numbers four levels and adds two diagram types without a level number (see [Shapes and Toolbox][]), from executive-level overview to developer-level module documentation:

| :Nodinite: level | Diagram type |
|---|---|
| **L0** | System Landscape |
| **L1** | Context |
| **L2** | Container |
| **L3** | Component |
| - | Dynamic |
| - | Deployment |

>[!NOTE]
>In :Nodinite:, Dynamic and Deployment are diagram types without a level number. The generic C4 model's Code level is not a :Nodinite: diagram type; see [C4 Model vs Nodinite Concept Mapping][] for how the two vocabularies line up.

### Why the C4 Model Has Won

* **Tool-neutral** — the same notation works in Mermaid, PlantUML, Structurizr, Visio, or hand-drawn on a whiteboard
* **Consistent zoom levels** — everyone on the team knows exactly what a "Container diagram" means
* **Widely adopted** — used by thousands of engineering teams across industries and vendors
* **Embeddable** — Mermaid C4 syntax renders natively in GitHub, Confluence, Azure DevOps, Notion, and more

## Why C4 Diagrams Matters to Your Organization

Architecture diagrams are critical artifacts for alignment — they help executives understand system scope, guide teams through design decisions, and bridge communication gaps between technical and business stakeholders. However, most diagram tools suffer from the same problem:

| Challenge | Business Impact |
|---|---|
| **Diagrams go stale** | Documentation drifts from reality, reducing trust in architectural decisions |
| **No single source of truth** | Business systems, IT teams, and architects maintain separate diagrams that conflict |
| **Expensive to maintain** | Keeping diagrams in sync with changes is the top documentation challenge architects report ([State of Software Architecture survey](https://icepanel.io/blog/2026-01-21-state-of-software-architecture-survey-2025)<sup>:fa-arrow-up-right-from-square:</sup>) |
| **Hard for non-technical stakeholders** | Generic boxes with no context make it difficult for executives and product teams to understand scope |
| **Can't show multiple perspectives** | A single diagram can't show both high-level system context AND technical infrastructure layers |

**C4 Diagrams in :Nodinite: solves this** by linking diagrams directly to your existing [Repository Model][] — the system of record for all integration metadata. When a [Service][Services] is renamed, deployed, or re-architected, every C4 diagram that uses it automatically reflects the change. Stakeholders always see current, accurate information without manual diagram maintenance.

The same Architecture Diagrams capability also supports [grouped Log View runtime inspection][Log Runtime Inspection]. That gives teams an investigation-first view of related events without forcing them to save a curated diagram first.

## How Nodinite Entities Map to C4 Concepts

The critical insight is that **no new top-level Repository entities are needed**. The existing :Nodinite: [Repository Model][] already contains everything the C4 model requires. Only a small number of new typed properties are added to existing entities.

### L1: C4 Context → Systems + Connectors

In a C4 Context diagram, you see **People** (users, roles) and **Software Systems** placed around a central system boundary. In :Nodinite:, these are **Systems** with the new `C4Type` property:

| C4 L1 Element | :Nodinite: Entity | `C4Type` Value | :fa-icons: Visual |
|---|---|---|---|
| Person / [User][Users] | [System][Systems] | `Person` | :fa-user: |
| Internal Software System | [System][Systems] | `InternalSystem` | :fa-server: |
| External Software System | [System][Systems] | `ExternalSystem` | :fa-building: |

Relationships between Persons and Systems are shown as arrows with a Label (describing the interaction, e.g., "Sends orders") and a technology (e.g., "HTTPS"). :new7.12: One connector per node pair holds one or more Flows, each with at most one [Message Type][Message Types], written as `protocol / Message Type`. An L1 is about one System, its scope; the Systems it talks to are drawn as `System_Ext`.

### L2: C4 Container → Services or Contracts

In a C4 Container diagram, you zoom into one System and see the applications, services, databases, and message buses — and how they communicate. :new7.12: In :Nodinite:, Container nodes bind to **Services** or **Contracts**, never to a System. The System is the diagram's subject `System_Boundary`, bound from its scope; a platform or portal is a System shape (`System_Ext`) outside it:

| C4 L2 Element | :Nodinite: Entity | Property | Example |
|---|---|---|---|
| Container (REST API) | [Service][Services] | `C4ContainerType = API` | Mobile API |
| Container (Database) | [Service][Services] | `C4ContainerType = Database` | Customer DB |
| Container (Message Bus) | [Service][Services] | `C4ContainerType = MessageBus` | [Azure Service Bus][] |
| Container (Batch Job) | [Service][Services] | `C4ContainerType = Function` | Nightly Sync |
| System Boundary | [System][Systems] | The diagram's Architectural Scope (derived, read-only) | Portal |
| Neighbouring System | [System][Systems] | `System_Ext`, outside the System Boundary | ERP, CRM platform |
| Boundary / Layer | [Domain][Domains], or unbound | Generic or Enterprise boundary | Experience APIs layer |
| Technology label | [Service][Services] or [Contract][Contracts] | `C4Technology` string; a Flow's technology carries `protocol / Message Type` | "ASP.NET Core", "PostgreSQL" |

### L3: C4 Component → Endpoints of the Subject

:new7.12: In a C4 Component diagram, you zoom into one Service or Contract, the diagram's **subject**, drawn as the `Container_Boundary`; the diagram's scope is the System it lives in. Inside, each Component is an [Endpoint][Endpoints] of the subject (it shows the Endpoint's icon, has **View** only, and no state) or an unbound step, such as a pipeline stage, map or filter. Related Services stand outside as Containers. An Integration is never a C4 element.

## The Visual Result

A complete C4 Container diagram produced by :Nodinite: follows this layered structure:

```text
┌─────────────────────────────────────────────────────────────────────────┐
│  [Person: Partner]   [Person: Mobile User]   [Person: Web User]         │  ← Systems (C4Type=Person)
│         │                    │                       │                  │
├─────────────────────────────────────────────────────────────────────────┤
│ Domain: Experience APIs                                                  │
│   [Service: EDI 850]  [Service: EDI 810]  [Service: Mobile API]   ...  │
├─────────────────────────────────────────────────────────────────────────┤
│ Domain: Process APIs                                                     │
│   [Service: Outbound]  [Service: Inbound]  [Service: PO Tracking] ...  │
├─────────────────────────────────────────────────────────────────────────┤
│ Domain: System APIs                                                      │
│   [Service: Purchase Orders]  [Service: Shipments]  [Service: Invoice] │
├─────────────────────────────────────────────────────────────────────────┤
│  [System: ERP]  [System: WMS]  [System: Bank]  [System: TM]  [EDW]    │  ← Systems (C4Type=ExternalSystem)
└─────────────────────────────────────────────────────────────────────────┘
         ↑ Connection lines with Label and Protocol drawn between nodes
```

The Domain layers sit inside the System's boundary, and the Systems it exchanges messages with sit outside it. This matches the API-led connectivity pattern used widely in MuleSoft, Azure API Management, and APIM governance documentation — now auto-generated from your live Repository data.

## Diagram Sets and Shared Navigation

Every C4 diagram belongs to a [Diagram Set][What is a C4 Diagram Set?] — the primary organizing unit in Architecture Diagrams. A set keeps related views for one subject together so users can move between levels without losing context.

### :fa-folder: Diagram Sets

[Diagram Sets][What is a C4 Diagram Set?] keep related views connected so users can move from one level to the next without searching manually.

This is the key benefit of Sets: you write a `Person(user, "Mobile User")` once, bind it to the "Mobile User" System in the :Nodinite: [Repository Model][], and the binding is shared across every diagram in the set that includes that entity.

### Architecture Scope is the identity

Inside a [Diagram Set][What is a C4 Diagram Set?], **Architecture Scope** is the architectural identity contract.

Keep the scope consistent for the views you want to connect. If you need broader coverage, create sibling diagrams with different scope values inside the same [Diagram Set][Diagram Set Fundamentals].

The main idea is that scope keeps related views aligned. :new7.12: The scope is one System (an L0 has none), and an L3 also has a subject, a Service or Contract. Navigation is inferred every time a diagram opens, inside the set, and nothing is stored. For the full model, see [Diagram Set Fundamentals][] and [Navigation Between C4 Diagrams][].

```text
Diagram type + scope/subject + each element's binding
->
Inferred navigation pills (Inside, Context, Dynamic, Owner, Zoom out, Related view)
```

### Layered Mode vs Free Draw

Both modes keep scope, but they behave differently:

* **Layered Mode** keeps the bindings consistent across diagrams: adding or removing nodes and boundaries propagates to the related Layered Drafts.
* **Free Draw** keeps edits local to the current diagram.

Changing the scope of a diagram changes its architectural identity and therefore the pills it shows.

### :fa-code: How Diagrams Are Shared

Architecture Diagrams can be shared as Mermaid markup or exported as images and files. The result is:

* **Easy to share** — paste into Confluence, GitHub, Azure DevOps, Notion, or any Mermaid-capable tool
* **Embeddable** — keep the same architecture view in documentation and collaboration tools
* **Exportable** — as SVG, PNG, Mermaid, Structurizr DSL, PlantUML, or Draw.io, one diagram at a time or a whole Diagram Set as a ZIP (see [Export and Sharing][])

>[!INFO]
>The [C4 Designer][C4 Designer] is now part of the Architecture Diagrams workflow. Many teams still start with the **import-first** path because it is the fastest way to bootstrap a diagram from Mermaid or Draw.io, then switch to the designer to refine layout, manage boundaries, and maintain the flows behind each connector without cluttering the canvas.

## Runtime inspection from grouped Log Views

Architecture Diagrams is not only for saved documentation. A grouped Log View can also open an on-demand runtime diagram based on related events.

This complements authored Dynamic diagrams:

* the grouped Log View runtime diagram is investigation-first and can switch between Participants mode and [Systems][] mode
* the authored Dynamic diagram remains a curated architecture artifact inside a [Diagram Set][What is a C4 Diagram Set?]
* when `UseContracts=true`, grouped runtime can classify a single resolved [Contract][Contracts] as the participant and use contract ownership for Systems-mode placement

[Learn how grouped runtime inspection works ->][Log Runtime Inspection]

## What Makes This Different from Static Tools

| | Visio / draw.io | Enterprise Architect | Starlify | :Nodinite: Architecture Diagrams |
|---|---|---|---|---|
| Uses live Repository data | ❌ No | ❌ No | ⚠️ Partial | ✅ Always current |
| [Diagram Sets][What is a C4 Diagram Set?] with inferred navigation | ❌ No | ❌ No | ⚠️ Partial | ✅ Yes |
| Multiple L2 diagrams per subject | ❌ No | ❌ No | ⚠️ Partial | ✅ Per-set scoping |
| Import from existing Mermaid | ❌ No | ❌ No | ❌ No | ✅ [Import][] wizard |
| Auto-generates Mermaid C4 | ❌ No | ❌ No | ❌ No | ✅ Yes |
| Containers bind to Services or Contracts; L3 Components to Endpoints | ❌ No | ❌ No | ❌ No | ✅ Yes |
| Connected to monitoring & logging | ❌ No | ❌ No | ❌ No | ✅ Yes |
| Zero marginal cost per diagram | ❌ No | ❌ No | ❌ No | ✅ Included with the [Mapify][] module |
| Industry-standard C4 notation | ✅ Manual | ✅ Manual | ✅ Yes | ✅ Auto-generated |
| Interactive visual designer | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

## Summary

**Architecture Diagrams in :Nodinite:** is the only architecture visualization tool that:

1. Organizes all views for one subject in a [Diagram Set][What is a C4 Diagram Set?] with inferred navigation between levels
2. Reads from a live, CMDB-quality [Repository Model][] that is already maintained by your integration teams
3. Produces **standard C4 notation** from imported or visually designed diagrams
4. Binds Container nodes to [Services][] or, when [UseContracts][UseContracts] is on, [Contracts][], and L3 Components to [Endpoints][]
5. Stores all relationships **relationally** — including the flows behind each connector — so they are queryable, auditable, and conflict-safe
6. Connects architecture documentation directly to **operational monitoring and logging**

It is not a replacement for your integration tooling — it is the architectural documentation layer that was always missing from it.

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

* :fa-rocket: [Creating Your First C4 Diagram][Creating Your First C4 Diagram]  
* :fa-pen-ruler: [C4 Designer – Interactive Canvas][C4 Designer]  
* :fa-file-import: [Import][]  
* :fa-code: [Mermaid View – Read-Only Rendering][Mermaid View]  
* :fa-heart-pulse: [Monitoring – Operational Health on Nodes][Monitoring C4]  
* :fa-route: [Inspect Grouped Log Views as Runtime Diagrams][Log Runtime Inspection]  

## :fa-link-horizontal: Related Topics

* :fa-circle-question: [What is a C4 Diagram Set?][What is a C4 Diagram Set?]  
* :fa-folder: [Diagram Set Fundamentals][]  
* :fa-toolbox: [Shapes and Toolbox][]  
* :fa-arrows-left-right-to-line: [C4 Model vs Nodinite Concept Mapping][C4 Model vs Nodinite Concept Mapping]  
* :fa-list-check: [Repository Properties for C4 Diagramming][Repository Properties for C4 Diagramming]  
* :fa-database: [Repository Model][]  
* :fa-pen-ruler: [C4 Designer guides][Designer Overview]  
* :fa-wrench: [C4 Diagrams Troubleshooting][Troubleshooting Overview]  

[1]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/C4/Context/Context_Example_O2C.png

[Architecture Diagrams]:{ndr}/Repository%20Model/C4%20Diagrams/Overview.md
[Azure Service Bus]:{ndr}/Logging%20and%20Monitoring/Message%20Queueing/Features/Azure%20Service%20Bus%20Queues/Monitoring%20Azure%20Service%20Bus%20Queue.md
[C4 Designer]:{ndr}/Repository%20Model/C4%20Diagrams/Features/C4%20Designer.md
[C4 Model vs Nodinite Concept Mapping]:{ndr}/Repository%20Model/C4%20Diagrams/Troubleshooting/C4%20Model%20vs%20Nodinite%20Concept%20Mapping.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
[Designer Overview]:{ndr}/Repository%20Model/C4%20Diagrams/Designer/Overview.md
[Diagram Set Fundamentals]:{ndr}/Repository%20Model/C4%20Diagrams/Features/Diagram%20Set%20Fundamentals.md
[Domains]:{ndr}/Repository%20Model/Domains/Overview.md
[Endpoints]:{ndr}/Repository%20Model/Endpoints/Overview.md
[Export and Sharing]:{ndr}/Repository%20Model/C4%20Diagrams/Features/Export%20and%20Sharing.md
[Hero]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/C4/Context/C4_WhatIsC4.gif
[Import]:{ndr}/Repository%20Model/C4%20Diagrams/Features/Import.md
[Log Runtime Inspection]:{ndr}/Repository%20Model/C4%20Diagrams/Features/Inspect%20Grouped%20Log%20Views%20as%20Runtime%20Diagrams.md
[Log Views]:{ndr}/Administration/1.%20Log%20Management/1.%20Log%20Views/Features/What%20is%20a%20Log%20View.md
[Mapify]:{ndr}/Mapify/Overview.md
[Mermaid View]:{ndr}/Repository%20Model/C4%20Diagrams/Features/Mermaid%20View.md
[Message Types]:{ndr}/Repository%20Model/Message%20Types/Overview.md
[Monitoring C4]:{ndr}/Repository%20Model/C4%20Diagrams/Features/Monitoring.md
[Navigation Between C4 Diagrams]:{ndr}/Repository%20Model/C4%20Diagrams/Features/Sync.md
[Remote Actions]:{ndr}/Getting%20Started/3.%20Monitor/Remote%20Actions.md
[Repository Model]:{ndr}/Repository%20Model/Overview.md
[Repository Properties for C4 Diagramming]:{ndr}/Repository%20Model/C4%20Diagrams/Troubleshooting/Repository%20Properties%20for%20C4%20Diagramming.md
[Services]:{ndr}/Repository%20Model/Services/Overview.md
[Shapes and Toolbox]:{ndr}/Repository%20Model/C4%20Diagrams/Features/Shapes%20and%20Toolbox.md
[Systems]:{ndr}/Repository%20Model/Systems/Overview.md
[Troubleshooting Overview]:{ndr}/Repository%20Model/C4%20Diagrams/Troubleshooting/Overview.md
[UseContracts]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/UseContracts.md
[Users]:{ndr}/Administration/3.%20Access%20Management/2.%20Users/Features/What%20is%20a%20User.md
[What is a C4 Diagram Set?]:{ndr}/Repository%20Model/C4%20Diagrams/Features/What%20is%20a%20C4%20Diagram%20Set.md