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

# :fa-book: C4 Examples Overview

Use these examples to learn [C4 Diagrams][C4 Overview] in :Nodinite: 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 |
|---|---|---|
| :fa-diagram-project: BPM | [Order-to-Cash Example Overview][O2C Overview] | The business flow, message samples and demo data generation behind every example. |
| :fa-globe: C4 | [System Landscape Diagram Example][System Landscape Example] | The L0: the four O2C [Systems][] in their four [Domains][], and three Persons. |
| :fa-sitemap: C4 | [L1 Context Diagram Example][L1 Example] | The Portal's L1: the Customer, the Portal, and ERP as an external System. |
| :fa-container-storage: C4 | [L2 Container Diagram Example][L2 Example] | The Portal's L2: its four [Services][] inside its System Boundary, ERP outside. |
| :fa-cube: C4 | [L3 Component Diagram Example][L3 Example] | The L3 of INT1337-RCV-Order-Incoming: its [Endpoint][Endpoints] and steps inside, the next Service outside. |
| :fa-random: C4 | [Dynamic Diagram Example][Dynamic Example] | The Dynamic generated from the BPM page: 7 steps across the four Systems. |
| :fa-server: C4 | [Deployment Diagram Example][Deployment Example] | The 14 Services as Container Instances on three unbound servers. |
| :fa-hammer: 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

:new7.12: 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: :new7.12: 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][].

>[!IMPORTANT]
>The [O2C PowerShell generator][Generate O2C Demo Data] creates the Repository items these examples bind to. Do not rename the generated Systems, Services, Endpoints, Domains, or the `O2C.*` [Message Types][] during import: the import matches by exact name.

## 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 |
|---|---|
| :fa-upload: [Import Your First C4 Diagram][Import Your First C4 Diagram] | Step-by-step import and binding workflow. |
| :fa-file-import: [Import][Import] | Supported source formats and import behavior. |
| :fa-compass: [What is C4 Diagrams?][What is C4 Diagrams] | Conceptual overview and terminology. |
| :fa-diagram-project: [BPM Examples Overview][BPM Examples Overview] | Entry point for BPM-focused examples, including Order-to-Cash. |
| :fa-diagram-project: [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. |

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

* :fa-globe: [System Landscape Diagram Example][System Landscape Example]  
* :fa-hammer: [Build the Order-to-Cash C4 set][]  
* :fa-diagram-project: [Order-to-Cash Example Overview][O2C Overview]  
* :fa-upload: [Import Your First C4 Diagram][Import Your First C4 Diagram]  

## :fa-link-horizontal: Related Topics

* :fa-book: [C4 Example Library Overview][Examples Overview]  
* :fa-book: [Example C4 Diagrams][]  
* :fa-pencil: [Creating Your First C4 Diagram][Creating Your First C4 Diagram]  
* :fa-compass: [Navigation Between C4 Diagrams][]  
* :fa-compass: [What is C4 Diagrams?][What is C4 Diagrams]  
* :fa-diagram-project: [BPM Overview][]  
* :fa-diagram-project: [BPM Examples Overview][BPM Examples Overview]  

[BPM Examples Overview]:{ndr}/Repository%20Model/BPMs/Examples/Overview.md
[BPM Overview]:{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 Dynamic from a BPM]:{ndr}/Repository%20Model/BPMs/Overview.md#fa-shuffle-c4-dynamic-from-a-bpm
[C4 Overview]:{ndr}/Repository%20Model/C4%20Diagrams/Overview.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
[Deployment Example]:{ndr}/Repository%20Model/C4%20Diagrams/Getting%20Started/Examples/Order-to-Cash/Deployment%20Diagram%20Example.md
[Diagram Set Fundamentals]:{ndr}/Repository%20Model/C4%20Diagrams/Features/Diagram%20Set%20Fundamentals.md
[Domains]:{ndr}/Repository%20Model/Domains/Overview.md
[Dynamic Example]:{ndr}/Repository%20Model/C4%20Diagrams/Getting%20Started/Examples/Order-to-Cash/Dynamic%20Diagram%20Example.md
[Endpoints]:{ndr}/Repository%20Model/Endpoints/Overview.md
[Example C4 Diagrams]:{ndr}/Repository%20Model/C4%20Diagrams/Getting%20Started/Example%20C4%20Diagrams.md
[Examples Overview]:{ndr}/Repository%20Model/C4%20Diagrams/Getting%20Started/Examples/Overview.md
[Generate from Integration Landscape]:{ndr}/Repository%20Model/C4%20Diagrams/Features/Generate%20from%20Integration%20Landscape.md
[Generate O2C Demo Data]:{ndr}/Repository%20Model/BPMs/Examples/Order-to-Cash/Generate-O2C-Demo-Data.md
[Hero]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/C4/C4_O2C_L1Context.gif
[Import]:{ndr}/Repository%20Model/C4%20Diagrams/Features/Import.md
[Import Your First C4 Diagram]:{ndr}/Repository%20Model/C4%20Diagrams/Getting%20Started/Import%20Your%20First%20C4%20Diagram.md
[Integrations]:{ndr}/Repository%20Model/Integrations/Overview.md
[L1 Example]:{ndr}/Repository%20Model/C4%20Diagrams/Getting%20Started/Examples/Order-to-Cash/L1%20Context%20Diagram%20Example.md
[L2 Example]:{ndr}/Repository%20Model/C4%20Diagrams/Getting%20Started/Examples/Order-to-Cash/L2%20Container%20Diagram%20Example.md
[L3 Example]:{ndr}/Repository%20Model/C4%20Diagrams/Getting%20Started/Examples/Order-to-Cash/L3%20Component%20Diagram%20Example.md
[Message Types]:{ndr}/Repository%20Model/Message%20Types/Overview.md
[Navigation Between C4 Diagrams]:{ndr}/Repository%20Model/C4%20Diagrams/Features/Sync.md
[O2C C4 Diagrams]:{ndr}/Repository%20Model/BPMs/Examples/Order-to-Cash/O2C-C4-Diagrams.md
[O2C Overview]:{ndr}/Repository%20Model/BPMs/Examples/Order-to-Cash/Overview.md
[Repository Model]:{ndr}/Repository%20Model/Overview.md
[Services]:{ndr}/Repository%20Model/Services/Overview.md
[System Landscape Example]:{ndr}/Repository%20Model/C4%20Diagrams/Getting%20Started/Examples/Order-to-Cash/System%20Landscape%20Diagram%20Example.md
[Systems]:{ndr}/Repository%20Model/Systems/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