---
title: Example C4 Diagrams – Learn by Example | Nodinite C4 Diagrams
description: "Real-world C4 diagram examples for Nodinite: L1 Context, L2 Container, L3 Component, System Landscape, Dynamic, and Deployment. Learn which architectural question each diagram type answers and which Repository entity each C4 node binds to."
---

# <i class="fal fa-book" aria-hidden="true"></i> Example C4 Diagrams

These C4 example diagrams show how each [C4 Diagrams][C4 Overview] type answers a different architectural question. Each example page shows a **rendered diagram** and its **copy-paste Mermaid code** side by side. To use any example in <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>, copy the Mermaid markup and follow the [Import Your First C4 Diagram][Import Your First C4 Diagram] walkthrough to create a [C4 Diagram Set][What is a C4 Diagram Set?], import the markup, and bind elements to your [Repository Model][].

The examples below use the Order-to-Cash set; the [C4 Example Library][Examples Overview] also holds BizTalk, Azure Integration Services, and migration journey sets.

## Understanding C4 Diagram Types

<span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> has six diagram types. The first four are numbered L0 to L3 and form the **zoom hierarchy**, each answering a different architectural question:

| Level | Name | Audience | Question Answered |
|---|---|---|---|
| **L0** | [System Landscape][Landscape Example] | Executives, enterprise architects | How do all systems in the organisation relate? |
| **L1** | [Context][L1 Example] | Everyone | What is the system and who uses it? |
| **L2** | [Container][L2 Example] | Technical teams | How is the system internally structured? |
| **L3** | [Component][L3 Example] | Developers | What is inside a specific [Service][Services] or [Contract][Contracts] (the diagram's subject)? |

L0 to L3 are bound together by **hierarchical zoom**, one level at a time. <sup><span class="nodinite-new-badge">New 7.12</span></sup> On the L0, a [System][Systems]'s **Context** pill opens its L1 and its **Inside** pill its L2. On the L2, a Service's **Inside** pill opens the L3 whose subject it is, and **Zoom out** goes back up. The pills are inferred when a diagram opens ([Navigation Between C4 Diagrams][]).

![The L3 Component diagram of INT1337-RCV-Order-Incoming: inside the Service boundary its Endpoint Portal-OrderReceived-Drop and the steps the order takes, the Component bound to the Endpoint of that name, the inspector naming the Endpoint, View opening the Endpoint's own Repository page, then the breadcrumb back to the Diagram Set and the L1 Context opened again, animated walkthrough (7.12)][Hero]  
*Animated walkthrough: the bottom of the zoom hierarchy, an L3 Component imported from the [Order-to-Cash examples][L3 Example], and the way back up to its L1 Context.*  

<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>The generic C4 model has a fourth zoom level, Code (class diagrams). Code 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, so <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> has no L4.</p></div>
</aside>

### Operational Diagram Types

Beyond the zoom hierarchy, two additional diagram types capture runtime and deployment perspectives. They have no level number; <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> names them by type, as the C4 model does:

| Diagram Type | Question Answered |
|---|---|
| [Dynamic][Dynamic Example] | How do systems interact at runtime for a specific workflow? |
| [Deployment][Deployment Example] | Where is the system deployed and on what infrastructure? |

These are **not** zoom levels — they show different operational perspectives on the same architecture.

In a [Diagram Set][Diagram Set Fundamentals], all diagram types coexist. An L0 Landscape, L1 Context, two L2 Containers, a Dynamic, and a Deployment diagram can all live in the same set. <sup><span class="nodinite-new-badge">New 7.12</span></sup> Navigation between them is **inferred** each time a diagram opens, from its type, scope, subject, and bindings; nothing is stored, and **Manual** links are the only stored ones.

The [Order-to-Cash demo][O2C Demo] set shows it at full size: 25 diagrams (1 L0, 4 L1, 4 L2, 14 L3, 1 Dynamic, 1 Deployment) with zero stored links. See [Build the Order-to-Cash C4 set][].

## Examples

| Example | Best For |
|---|---|
| [L1: System Context Diagram][L1 Example] | Everyone — who uses the system, what it interacts with |
| [L2: Container Diagram][L2 Example] | Technical teams — internal structure and technology choices |
| [L3: Component Diagram][L3 Example] | Developers — the [Endpoints][] and steps inside one Service |
| [System Landscape Diagram][Landscape Example] | Enterprise architects — all systems in the organisation |
| [Dynamic Diagram][Dynamic Example] | Troubleshooting — runtime sequence for a specific workflow |
| [Deployment Diagram][Deployment Example] | DevOps/Ops — infrastructure and service placement |

## Quick Reference

| Your Question | Diagram | Audience |
|---|---|---|
| "Who uses the system and what does it interact with?" | [L1: Context][L1 Example] | Everyone |
| "How is the system structured internally?" | [L2: Container][L2 Example] | Technical teams |
| "What Endpoints and steps make up this Service?" | [L3: Component][L3 Example] | Developers |
| "How do multiple enterprise systems relate?" | [System Landscape][Landscape Example] | Enterprise architects |
| "How do systems interact during a specific workflow?" | [Dynamic][Dynamic Example] | Technical teams |
| "Where and how is the system deployed?" | [Deployment][Deployment Example] | DevOps, operations |

## What Goes Where — Nodinite Entity Cheat Sheet

When you import a C4 diagram, <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> resolves each node against your [Repository Model][]. **The shape and the diagram type decide which entity type a node can bind to.** <sup><span class="nodinite-new-badge">New 7.12</span></sup> A binding the rules refuse is imported **unbound with a warning**, never refused, and the import never creates an [Integration][Integrations].

| Diagram | C4 Node Shape | Binds to <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> | What to name it | Example |
|---|---|---|---|---|
| **L0 / L1** | `Person`, `System`, `System_Ext`, `SystemDb`, `SystemQueue` | [System][Systems] (a Person is a System with C4 Type Person) | Application, platform, or actor names | `ERP`, `Portal`, `Customer` |
| **L2** | `Container`, `ContainerDb`, `ContainerQueue` | [Service][Services] or [Contract][Contracts], never a [System][Systems] | Service names | `INT1337-RCV-Order-Incoming` |
| **L2** | `System_Ext` for a neighbouring System | [System][Systems] | The System name — same as its L1 node | `ERP` |
| **L3** | `Component`, `ComponentDb`, `ComponentQueue` | An [Endpoint][Endpoints] of the subject (exact name), otherwise unbound | Endpoint names, or step names such as validators and maps | `Portal-OrderReceived-Drop`, `Order Validator` |
| **Dynamic** | `Container`, `ContainerDb`, `ContainerQueue` | [Service][Services] or [Contract][Contracts]; [System][Systems] shapes → System; Components unbound | Same as L2 | `INT1337-RCV-Order-Incoming` |
| **Deployment** | `Container` (stored as a Container Instance) | [Service][Services] or [Contract][Contracts]; `Deployment_Node` unbound | Same as L2 | `INT1337-RCV-Order-Incoming` |
| **L0, L1, L2, L3, Dynamic** | `Boundary(...)`, `Enterprise_Boundary(...)` | [Domain][Domains], or an unbound grouping | Business domain names | `Sales`, `Planning`, `Logistics` |
| **L2** | `System_Boundary(...)` | [System][Systems]: the diagram's scope, read-only | The scope System | `Portal` |
| **L3** | `Container_Boundary(...)` | [Service][Services] or [Contract][Contracts]: the diagram's subject, read-only | The subject Service | `INT1337-RCV-Order-Incoming` |
| **L2 / L3** | `Container_Ext`, `ContainerDb_Ext`, `ContainerQueue_Ext` | [Service][Services] or [Contract][Contracts], like other containers | Service names | `INT1337-SND-Order-Incoming` |
| **L3** | `Component_Ext`, `ComponentDb_Ext`, `ComponentQueue_Ext` | [Endpoint][Endpoints] or unbound, like other components | Endpoint or step names | `Portal-OrderReceived-Drop` |

<aside aria-label="Important" class="nodinite-note nodinite-note--important">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-message-exclamation"></i> Important</p>
<div class="nodinite-note__content"><p><strong>Never draw a System as a Container, and never a Service as a Component.</strong> A Container named after a System imports unbound, with the note to draw it as a System shape. A Component named after a Service matches no Endpoint and stays unbound: the Service is the L3's <code>Container_Boundary</code>, or a <code>Container</code> outside it.</p></div>
</aside>

### Level Summary at a Glance

```text
L0 / L1     ──  System names              →  bind to  System
L2          ──  Service names             →  bind to  Service or Contract (System_Boundary = the scope System)
L3          ──  Endpoint and step names   →  bind to  Endpoint, or unbound (Container_Boundary = the subject Service)
Dynamic     ──  Same as L2
Deployment  ──  Same as L2; servers are unbound Deployment_Nodes
Boundary    ──  Domain names              →  bind to  Domain
```

See [C4 Model vs Nodinite Concept Mapping][C4 Model vs Nodinite Concept Mapping] for the full property-level reference.

## Key Takeaway: Diagrams Tell Different Stories

L0, L1, L2, and L3 form a **drill-down hierarchy**. Within a Diagram Set, inferred navigation pills (**Inside**, **Context**, **Dynamic**, **Owner**, **Zoom out**, **Related view**) and **Manual** links take you between them. In the Order-to-Cash demo:

```text
L0 Landscape: "Here are Portal, ERP, WMS and ERP-Finance in their four Domains"
↓ Portal: Context → its L1
L1 Context: "Here's Portal, its Customer, and ERP next to it"
↓ Portal: Inside → its L2
L2 Container: "Portal runs four Services; ERP is outside"
↓ INT1337-RCV-Order-Incoming: Inside → its L3
L3 Component: "The Service holds its Endpoint Portal-OrderReceived-Drop and its steps"
```

[Dynamic][Dynamic Example] and [Deployment][Deployment Example] diagrams are **operational perspectives** — they show different views on the same architecture, not deeper zoom levels.

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

* <i class="fal fa-upload" aria-hidden="true"></i> [Import Your First C4 Diagram][] — Create a Diagram Set, import Mermaid markup, and bind nodes to your Repository  
* <i class="fal fa-book" aria-hidden="true"></i> [C4 Example Library Overview][Examples Overview] — Order-to-Cash, BizTalk, Azure, and migration example sets  
* <i class="fal fa-cubes" aria-hidden="true"></i> [Build the Order-to-Cash C4 set][] — The full demo set of 25 diagrams, built in the product  

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

* <i class="fal fa-compass" aria-hidden="true"></i> [What is C4 Diagrams?][What is C4 Diagrams?] — Understand the C4 model and why it matters  
* <i class="fal fa-pencil" aria-hidden="true"></i> [Creating Your First C4 Diagram][Creating Your First C4 Diagram] — Build a diagram by hand instead  
* <i class="fal fa-eye" aria-hidden="true"></i> [Mermaid View][Mermaid View] — Render and share diagrams as Mermaid markup  
* <i class="fal fa-share-nodes" aria-hidden="true"></i> [Export and Sharing][Export and Sharing] — Export to SVG, PNG, Mermaid, Structurizr DSL, PlantUML, or Draw.io  
* <i class="fal fa-table" aria-hidden="true"></i> [C4 Model vs Nodinite Concept Mapping][C4 Model vs Nodinite Concept Mapping] — Terminology reference guide  
* <i class="fal fa-signs-post" aria-hidden="true"></i> [Navigation Between C4 Diagrams][] — Inferred pills and manual links  

[Build the Order-to-Cash C4 set]:https://docs.nodinite.com/repository-model/c4-diagrams/getting-started/examples/order-to-cash/build-the-order-to-cash-c4-set/
[C4 Model vs Nodinite Concept Mapping]:https://docs.nodinite.com/repository-model/c4-diagrams/troubleshooting/c4-model-vs-nodinite-concept-mapping/
[C4 Overview]:https://docs.nodinite.com/repository-model/c4-diagrams/overview/
[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/
[Deployment Example]:https://docs.nodinite.com/repository-model/c4-diagrams/getting-started/examples/order-to-cash/deployment-diagram-example/
[Diagram Set Fundamentals]:https://docs.nodinite.com/repository-model/c4-diagrams/features/diagram-set-fundamentals/
[Domains]:https://docs.nodinite.com/repository-model/domains/overview/
[Dynamic Example]:https://docs.nodinite.com/repository-model/c4-diagrams/getting-started/examples/order-to-cash/dynamic-diagram-example/
[Endpoints]:https://docs.nodinite.com/repository-model/endpoints/overview/
[Examples Overview]:https://docs.nodinite.com/repository-model/c4-diagrams/getting-started/examples/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/C4_O2C_L3Component.gif
[Import Your First C4 Diagram]:https://docs.nodinite.com/repository-model/c4-diagrams/getting-started/import-your-first-c4-diagram/
[Integrations]:https://docs.nodinite.com/repository-model/integrations/overview/
[L1 Example]:https://docs.nodinite.com/repository-model/c4-diagrams/getting-started/examples/order-to-cash/l1-context-diagram-example/
[L2 Example]:https://docs.nodinite.com/repository-model/c4-diagrams/getting-started/examples/order-to-cash/l2-container-diagram-example/
[L3 Example]:https://docs.nodinite.com/repository-model/c4-diagrams/getting-started/examples/order-to-cash/l3-component-diagram-example/
[Landscape Example]:https://docs.nodinite.com/repository-model/c4-diagrams/getting-started/examples/order-to-cash/system-landscape-diagram-example/
[Mermaid View]:https://docs.nodinite.com/repository-model/c4-diagrams/features/mermaid-view/
[Navigation Between C4 Diagrams]:https://docs.nodinite.com/repository-model/c4-diagrams/features/sync/
[O2C Demo]:https://docs.nodinite.com/repository-model/bpms/examples/order-to-cash/generate-o2c-demo-data/
[Repository Model]:https://docs.nodinite.com/repository-model/overview/
[Services]:https://docs.nodinite.com/repository-model/services/overview/
[Systems]:https://docs.nodinite.com/repository-model/systems/overview/
[What is a C4 Diagram Set?]:https://docs.nodinite.com/repository-model/c4-diagrams/features/what-is-a-c4-diagram-set/
[What is C4 Diagrams?]:https://docs.nodinite.com/repository-model/c4-diagrams/features/what-is-c4-diagrams/