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

# <i class="fal fa-layer-group" aria-hidden="true"></i> What is C4 Diagrams?

**C4 Diagrams** ([Architecture Diagrams][]) in <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 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. <sup><span class="nodinite-new-badge">New 7.12</span></sup> Each bound node carries its navigation pills, and the **Related** panel lists inferred and manual entries.*  

## Understanding the C4 Model

Before exploring how <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 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><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></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.

<span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 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:

| <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> level | Diagram type |
|---|---|
| **L0** | System Landscape |
| **L1** | Context |
| **L2** | Container |
| **L3** | Component |
| - | Dynamic |
| - | Deployment |

<aside aria-label="Note" class="nodinite-note nodinite-note--note">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-note"></i> Note</p>
<div class="nodinite-note__content"><p>In <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>, Dynamic and Deployment are diagram types without a level number. The generic C4 model's Code level is not a <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> diagram type; see <a href="https://docs.nodinite.com/repository-model/c4-diagrams/troubleshooting/c4-model-vs-nodinite-concept-mapping/">C4 Model vs Nodinite Concept Mapping</a> for how the two vocabularies line up.</p></div>
</aside>

### 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><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>, these are **Systems** with the new `C4Type` property:

| C4 L1 Element | <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> Entity | `C4Type` Value | <i class="fal fa-icons" aria-hidden="true"></i> Visual |
|---|---|---|---|
| Person / [User][Users] | [System][Systems] | `Person` | <i class="fal fa-user" aria-hidden="true"></i> |
| Internal Software System | [System][Systems] | `InternalSystem` | <i class="fal fa-server" aria-hidden="true"></i> |
| External Software System | [System][Systems] | `ExternalSystem` | <i class="fal fa-building" aria-hidden="true"></i> |

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"). <sup><span class="nodinite-new-badge">New 7.12</span></sup> 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. <sup><span class="nodinite-new-badge">New 7.12</span></sup> In <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>, 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 | <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 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

<sup><span class="nodinite-new-badge">New 7.12</span></sup> 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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 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.

### <i class="fal fa-folder" aria-hidden="true"></i> 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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [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. <sup><span class="nodinite-new-badge">New 7.12</span></sup> 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.

### <i class="fal fa-code" aria-hidden="true"></i> 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][])

<aside aria-label="Info" class="nodinite-note nodinite-note--info">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-square-info"></i> Info</p>
<div class="nodinite-note__content"><p>The <a href="https://docs.nodinite.com/repository-model/c4-diagrams/features/c4-designer/">C4 Designer</a> is now part of the Architecture Diagrams workflow. Many teams still start with the <strong>import-first</strong> 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.</p></div>
</aside>

## 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 | <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>** 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.

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

* <i class="fal fa-rocket" aria-hidden="true"></i> [Creating Your First C4 Diagram][Creating Your First C4 Diagram]  
* <i class="fal fa-pen-ruler" aria-hidden="true"></i> [C4 Designer – Interactive Canvas][C4 Designer]  
* <i class="fal fa-file-import" aria-hidden="true"></i> [Import][]  
* <i class="fal fa-code" aria-hidden="true"></i> [Mermaid View – Read-Only Rendering][Mermaid View]  
* <i class="fal fa-heart-pulse" aria-hidden="true"></i> [Monitoring – Operational Health on Nodes][Monitoring C4]  
* <i class="fal fa-route" aria-hidden="true"></i> [Inspect Grouped Log Views as Runtime Diagrams][Log Runtime Inspection]  

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

* <i class="fal fa-circle-question" aria-hidden="true"></i> [What is a C4 Diagram Set?][What is a C4 Diagram Set?]  
* <i class="fal fa-folder" aria-hidden="true"></i> [Diagram Set Fundamentals][]  
* <i class="fal fa-toolbox" aria-hidden="true"></i> [Shapes and Toolbox][]  
* <i class="fal fa-arrows-left-right-to-line" aria-hidden="true"></i> [C4 Model vs Nodinite Concept Mapping][C4 Model vs Nodinite Concept Mapping]  
* <i class="fal fa-list-check" aria-hidden="true"></i> [Repository Properties for C4 Diagramming][Repository Properties for C4 Diagramming]  
* <i class="fal fa-database" aria-hidden="true"></i> [Repository Model][]  
* <i class="fal fa-pen-ruler" aria-hidden="true"></i> [C4 Designer guides][Designer Overview]  
* <i class="fal fa-wrench" aria-hidden="true"></i> [C4 Diagrams Troubleshooting][Troubleshooting Overview]  

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Repository/C4/Context/Context_Example_O2C.png

[Architecture Diagrams]:https://docs.nodinite.com/repository-model/c4-diagrams/overview/
[Azure Service Bus]:https://docs.nodinite.com/logging-and-monitoring/message-queueing/features/azure-service-bus-queues/monitoring-azure-service-bus-queue/
[C4 Designer]:https://docs.nodinite.com/repository-model/c4-diagrams/features/c4-designer/
[C4 Model vs Nodinite Concept Mapping]:https://docs.nodinite.com/repository-model/c4-diagrams/troubleshooting/c4-model-vs-nodinite-concept-mapping/
[Contracts]:https://docs.nodinite.com/getting-started/repository/contracts/overview/
[Creating Your First C4 Diagram]:https://docs.nodinite.com/repository-model/c4-diagrams/getting-started/creating-your-first-c4-diagram/
[Designer Overview]:https://docs.nodinite.com/repository-model/c4-diagrams/designer/overview/
[Diagram Set Fundamentals]:https://docs.nodinite.com/repository-model/c4-diagrams/features/diagram-set-fundamentals/
[Domains]:https://docs.nodinite.com/repository-model/domains/overview/
[Endpoints]:https://docs.nodinite.com/repository-model/endpoints/overview/
[Export and Sharing]:https://docs.nodinite.com/repository-model/c4-diagrams/features/export-and-sharing/
[Hero]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Repository/C4/Context/C4_WhatIsC4.gif
[Import]:https://docs.nodinite.com/repository-model/c4-diagrams/features/import/
[Log Runtime Inspection]:https://docs.nodinite.com/repository-model/c4-diagrams/features/inspect-grouped-log-views-as-runtime-diagrams/
[Log Views]:https://docs.nodinite.com/administration/log-management/log-views/features/what-is-a-log-view/
[Mapify]:https://docs.nodinite.com/mapify/overview/
[Mermaid View]:https://docs.nodinite.com/repository-model/c4-diagrams/features/mermaid-view/
[Message Types]:https://docs.nodinite.com/repository-model/message-types/overview/
[Monitoring C4]:https://docs.nodinite.com/repository-model/c4-diagrams/features/monitoring/
[Navigation Between C4 Diagrams]:https://docs.nodinite.com/repository-model/c4-diagrams/features/sync/
[Remote Actions]:https://docs.nodinite.com/getting-started/monitor/remote-actions/
[Repository Model]:https://docs.nodinite.com/repository-model/overview/
[Repository Properties for C4 Diagramming]:https://docs.nodinite.com/repository-model/c4-diagrams/troubleshooting/repository-properties-for-c4-diagramming/
[Services]:https://docs.nodinite.com/repository-model/services/overview/
[Shapes and Toolbox]:https://docs.nodinite.com/repository-model/c4-diagrams/features/shapes-and-toolbox/
[Systems]:https://docs.nodinite.com/repository-model/systems/overview/
[Troubleshooting Overview]:https://docs.nodinite.com/repository-model/c4-diagrams/troubleshooting/overview/
[UseContracts]:https://docs.nodinite.com/administration/settings/system-parameters/usecontracts/
[Users]:https://docs.nodinite.com/administration/access-management/users/features/what-is-a-user/
[What is a C4 Diagram Set?]:https://docs.nodinite.com/repository-model/c4-diagrams/features/what-is-a-c4-diagram-set/