---
title: C4 Examples Overview - Order-to-Cash and C4 Diagram Samples
description: "Order-to-Cash C4 examples for Nodinite: one example per layer (System Landscape, Context, Container, Component, Dynamic, Deployment), which Architectural Scope and subject each takes and when, and how to build the full 25-diagram Order-to-Cash Demo set."
---

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

Use these examples to learn [C4 Diagrams][C4 Overview] in <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> with one complete Order-to-Cash (O2C) story. There is one import-ready Mermaid example per C4 layer, and each one follows the [Order-to-Cash demo][O2C Overview] data and its names exactly. This set is part of the [C4 Example Library][Examples Overview].

The examples help you build and validate a complete [C4 Diagram Set][What is a C4 Diagram Set?] step by step. Put together, they form the set *Order-to-Cash Demo*.

![The Diagram Set Order-to-Cash Examples: the L1 Context of the Portal opened with its customers and the systems it depends on, the System Portal bound to the Repository, and its Inside pill opening the Portal's L2 Container with its four Services inside the Portal System Boundary and the Customer and ERP outside, animated walkthrough (7.12)][Hero]  
*Animated walkthrough: an L1 Context scoped to the **Portal**, and its **Inside** pill to the Portal's L2 Container.*  

* ✅ Start with realistic Order-to-Cash examples that map to [BPM][BPM Overview] and [Repository Model][] entities  
* ✅ Learn each C4 perspective with one example per layer: System Landscape, Context, Container, Component, Dynamic and Deployment  
* ✅ Build the whole 25-diagram set through the product, with navigation that needs no stored links  

## Example Catalog

| Type | Example | What it shows |
|---|---|---|
| <i class="fal fa-diagram-project" aria-hidden="true"></i> BPM | [Order-to-Cash Example Overview][O2C Overview] | The business flow, message samples and demo data generation behind every example. |
| <i class="fal fa-globe" aria-hidden="true"></i> C4 | [System Landscape Diagram Example][System Landscape Example] | The L0: the four O2C [Systems][] in their four [Domains][], and three Persons. |
| <i class="fal fa-sitemap" aria-hidden="true"></i> C4 | [L1 Context Diagram Example][L1 Example] | The Portal's L1: the Customer, the Portal, and ERP as an external System. |
| <i class="fal fa-container-storage" aria-hidden="true"></i> C4 | [L2 Container Diagram Example][L2 Example] | The Portal's L2: its four [Services][] inside its System Boundary, ERP outside. |
| <i class="fal fa-cube" aria-hidden="true"></i> C4 | [L3 Component Diagram Example][L3 Example] | The L3 of INT1337-RCV-Order-Incoming: its [Endpoint][Endpoints] and steps inside, the next Service outside. |
| <i class="fal fa-random" aria-hidden="true"></i> C4 | [Dynamic Diagram Example][Dynamic Example] | The Dynamic generated from the BPM page: 7 steps across the four Systems. |
| <i class="fal fa-server" aria-hidden="true"></i> C4 | [Deployment Diagram Example][Deployment Example] | The 14 Services as Container Instances on three unbound servers. |
| <i class="fal fa-hammer" aria-hidden="true"></i> C4 | [Build the Order-to-Cash C4 set][] | All six in one set, plus [Generate from Integration Landscape][] for the rest: 25 diagrams. |

## Which Scope, When

<sup><span class="nodinite-new-badge">New 7.12</span></sup> Each diagram type has its own rules for [Architectural Scope][Diagram Set Fundamentals] and subject. The table says, per example, what to pick in the import and when the scope is set; each example page repeats its row next to its import step.

| Example | Diagram type to pick in the import | Architectural Scope | Subject | When it is set | Needed before Promote |
|---|---|---|---|---|---|
| Order-to-Cash — System Landscape | *System Landscape (L0) — multiple independent systems* | none (the whole set) | — | never: L0 has no scope, so the wizard shows no Scope step | ❌ No |
| Portal — System Context | Context | [System][Systems] **Portal** | (the scope) | in the import wizard's **Scope** step: pick the System; **Next** stays disabled until you do | ✅ Yes |
| Portal — L2 Container Diagram | Container | [System][Systems] **Portal** | (the scope) | automatically: taken from the markup's `System_Boundary(portal, "Portal")` (the Scope step shows it as taken from the markup) | ✅ Yes |
| INT1337-RCV-Order-Incoming — L3 Component Diagram | Component | [System][Systems] **Portal** | [Service][Services] **INT1337-RCV-Order-Incoming** | automatically: the `Container_Boundary` named after the Service gives the subject, and the scope is that Service's System | ✅ Yes (scope and subject) |
| INT1337 - Order-to-Cash Flow — Dynamic | not imported: [C4 Dynamic][C4 Dynamic from a BPM] on the [BPM][BPM Overview] page | none (set-wide) | — | never | ❌ No |
| Order-to-Cash — on servers | Deployment | none | — | optional: the wizard's Scope step may name one [System][Systems]; leave it empty for the O2C | ❌ No |

The rules behind the table:

* An L0 has no scope.
* An L1, L2 or L3 is scoped to one System, which is required before the diagram can be Active.
* Only an L3 has a subject: a Service or a [Contract][Contracts].
* A Dynamic or a Deployment has no scope or one System.
* A Domain, a Service or an [Integration][Integrations] is never a scope: Integrations are not C4 elements.
* **Set Architectural Scope** in the Designer changes the scope afterwards. A diagram made by [Generate from Integration Landscape][] gets its scope and subject from the generator.

### Navigation Needs No Chain

The examples rely on inferred navigation: <sup><span class="nodinite-new-badge">New 7.12</span></sup> the links between the diagrams are computed every time a diagram opens, from its type, its scope and subject, and each element's binding. The pills **Inside**, **Context**, **Dynamic**, **Owner**, **Zoom out** and **Related view** work inside one set with zero stored links: Portal on the L0 offers **Inside** to Portal's L2, the Service INT1337-RCV-Order-Incoming on the L2 offers **Inside** to its L3, and the L3 offers **Zoom out** back. See [Navigation Between C4 Diagrams][].

<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>The <a href="https://docs.nodinite.com/repository-model/bpms/examples/order-to-cash/generate-o2c-demo-data/">O2C PowerShell generator</a> creates the Repository items these examples bind to. Do not rename the generated Systems, Services, Endpoints, Domains, or the <code>O2C.*</code> <a href="https://docs.nodinite.com/repository-model/message-types/overview/">Message Types</a> during import: the import matches by exact name.</p></div>
</aside>

## The Full Order-to-Cash Demo Set

The six examples are one diagram per layer. To get the whole picture, [Build the Order-to-Cash C4 set][]: import the examples, generate the Dynamic with **C4 Dynamic** on the BPM page, then run [Generate from Integration Landscape][] on *INT1337 - Order-to-Cash*. The generator adds the other Systems' L1 and L2 and every other Service's L3, and keeps the diagrams you imported. The result is **25** Active diagrams: 1 L0, 4 L1, 4 L2, 14 L3, 1 Dynamic and 1 Deployment.

## Related Learning Pages

| Page | Why open it |
|---|---|
| <i class="fal fa-upload" aria-hidden="true"></i> [Import Your First C4 Diagram][Import Your First C4 Diagram] | Step-by-step import and binding workflow. |
| <i class="fal fa-file-import" aria-hidden="true"></i> [Import][Import] | Supported source formats and import behavior. |
| <i class="fal fa-compass" aria-hidden="true"></i> [What is C4 Diagrams?][What is C4 Diagrams] | Conceptual overview and terminology. |
| <i class="fal fa-diagram-project" aria-hidden="true"></i> [BPM Examples Overview][BPM Examples Overview] | Entry point for BPM-focused examples, including Order-to-Cash. |
| <i class="fal fa-diagram-project" aria-hidden="true"></i> [O2C Demo — C4 Architecture Diagrams][O2C C4 Diagrams] | How the O2C log events and Repository bindings map to the C4 layers, from L0 to L3, Dynamic and Deployment. |

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

* <i class="fal fa-globe" aria-hidden="true"></i> [System Landscape Diagram Example][System Landscape Example]  
* <i class="fal fa-hammer" aria-hidden="true"></i> [Build the Order-to-Cash C4 set][]  
* <i class="fal fa-diagram-project" aria-hidden="true"></i> [Order-to-Cash Example Overview][O2C Overview]  
* <i class="fal fa-upload" aria-hidden="true"></i> [Import Your First C4 Diagram][Import Your First C4 Diagram]  

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

* <i class="fal fa-book" aria-hidden="true"></i> [C4 Example Library Overview][Examples Overview]  
* <i class="fal fa-book" aria-hidden="true"></i> [Example C4 Diagrams][]  
* <i class="fal fa-pencil" aria-hidden="true"></i> [Creating Your First C4 Diagram][Creating Your First C4 Diagram]  
* <i class="fal fa-compass" aria-hidden="true"></i> [Navigation Between C4 Diagrams][]  
* <i class="fal fa-compass" aria-hidden="true"></i> [What is C4 Diagrams?][What is C4 Diagrams]  
* <i class="fal fa-diagram-project" aria-hidden="true"></i> [BPM Overview][]  
* <i class="fal fa-diagram-project" aria-hidden="true"></i> [BPM Examples Overview][BPM Examples Overview]  

[BPM Examples Overview]:https://docs.nodinite.com/repository-model/bpms/examples/overview/
[BPM Overview]:https://docs.nodinite.com/repository-model/bpms/overview/
[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 Dynamic from a BPM]:https://docs.nodinite.com/repository-model/bpms/overview/#fa-shuffle-c4-dynamic-from-a-bpm
[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/
[Example C4 Diagrams]:https://docs.nodinite.com/repository-model/c4-diagrams/getting-started/example-c4-diagrams/
[Examples Overview]:https://docs.nodinite.com/repository-model/c4-diagrams/getting-started/examples/overview/
[Generate from Integration Landscape]:https://docs.nodinite.com/repository-model/c4-diagrams/features/generate-from-integration-landscape/
[Generate O2C Demo Data]:https://docs.nodinite.com/repository-model/bpms/examples/order-to-cash/generate-o2c-demo-data/
[Hero]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Repository/C4/C4_O2C_L1Context.gif
[Import]:https://docs.nodinite.com/repository-model/c4-diagrams/features/import/
[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/
[Message Types]:https://docs.nodinite.com/repository-model/message-types/overview/
[Navigation Between C4 Diagrams]:https://docs.nodinite.com/repository-model/c4-diagrams/features/sync/
[O2C C4 Diagrams]:https://docs.nodinite.com/repository-model/bpms/examples/order-to-cash/o2c-c4-diagrams/
[O2C Overview]:https://docs.nodinite.com/repository-model/bpms/examples/order-to-cash/overview/
[Repository Model]:https://docs.nodinite.com/repository-model/overview/
[Services]:https://docs.nodinite.com/repository-model/services/overview/
[System Landscape Example]:https://docs.nodinite.com/repository-model/c4-diagrams/getting-started/examples/order-to-cash/system-landscape-diagram-example/
[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/