---
title: C4 Model vs Nodinite Concept Mapping | C4 Diagrams Troubleshooting
description: Side-by-side comparison of C4 model terminology and Nodinite Repository entity names. Understand how C4 Persons, Systems, Containers, Components, Boundaries, and Relationships map to Nodinite Systems, Services, Contracts, Endpoints, Domains, and Flows.
---

# <i class="fal fa-table" aria-hidden="true"></i> C4 Model vs Nodinite Concept Mapping

This page provides a complete side-by-side mapping of the **C4 model's terminology** and the corresponding **<span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Repository][] entities and properties** used in [C4 Diagrams][C4 Diagrams Overview]. Use this reference when the documentation from [c4model.com](https://c4model.com)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup> uses different language than what you see in the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> UI.

## <i class="fal fa-users" aria-hidden="true"></i> Different Diagrams, Different Audiences

<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>Terminology note:</strong> The C4 model also has a separate <em>Software Architecture Diagramming Maturity Model</em> with five organisational maturity levels (Level 1 Initial → Level 5 Optimising). That maturity model is about <em>how an organisation practices diagramming</em> — it is <strong>not</strong> the same as the four C4 diagram types described below.</p></div>
</aside>

The C4 model is named after four **diagram types** — Context, Containers, Components, and Code — that each zoom into a different level of detail. The official [c4model.com](https://c4model.com)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup> site notes: *"you don't need to use all 4 diagram types; only those that add value — the System Context and Container diagrams are sufficient for most software development teams."*

<span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> implements six diagram types. The zoom levels are numbered L0 to L3; **Dynamic** and **Deployment** are views across those levels and are named by type, without a number, as in the C4 model itself. The generic C4 model's fourth level, 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:

| Diagram type | Shorthand | What it shows | Who typically benefits | Mapping on this page |
|---|---|---|---|---|
| **System Landscape** | L0 | Every system in the organisation and how they relate, using the same elements as a Context diagram | Executives, enterprise architects | [C4 Level 1 Mapping](#c4-level-1-context-diagram-mapping) |
| **System Context** | L1 | Systems, people, and high-level relationships between them | Executives, product owners, architects | [C4 Level 1 Mapping](#c4-level-1-context-diagram-mapping) |
| **Container** | L2 | Applications, services, databases, and their interactions inside a boundary | Platform engineers, solution architects, dev teams | [C4 Level 2 Mapping](#c4-level-2-container-diagram-mapping) |
| **Component** | L3 | Internal modules or components inside a container | Developers, tech leads, code reviewers | [C4 Level 3 Mapping](#c4-level-3-component-diagram-mapping) |
| **Deployment** | — | Infrastructure nodes, deployment environments, and how containers are placed across them | DevOps, operations, cloud architects | [Deployment Mapping](#c4-deployment-diagram-mapping) |
| **Dynamic** | — | Runtime interaction sequence for a specific business workflow | Integration teams, technical leads | [Dynamic Mapping](#c4-dynamic-diagram-mapping) |
| **Code** (generic C4 model only) | — | Class diagrams and low-level implementation detail | Developers reviewing specific implementations | *Not a <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> diagram type. Obtainable via the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [MCP Endpoint][].* |

![The Order-to-Cash Demo Diagram Set: on the L1 System Context diagram the Portal node is the System Portal, on the L2 Container diagram the Container INT1337-RCV-Order-Incoming is the Service of that name, and on its L3 Component diagram, where the Service is the boundary, the Component Portal-OrderReceived-Drop is bound to the Endpoint of that name; View opens the Endpoint's page with its Services and C4 Diagrams cards, animated walkthrough (7.12)][1]  
*Animated walkthrough: a C4 Software System is a <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [System][Systems], a C4 Container is a [Service][Services] (L2), and each node's **View** opens the bound Repository item. <sup><span class="nodinite-new-badge">New 7.12</span></sup> On an L3 a C4 Component is an [Endpoint][Endpoints] of the diagram's subject Service, and you move down a level with the **Inside** [navigation pill][Navigation Between C4 Diagrams]; the [Order-to-Cash demo][Build the Order-to-Cash C4 set]'s L3 is *INT1337-RCV-Order-Incoming*.*  

## Scope, Subject, and Bindings per Diagram Type

<sup><span class="nodinite-new-badge">New 7.12</span></sup> The same rules apply to every save, from the [Web API][], the [import][Import], the [MCP Endpoint][] and the Designer. [Domains][], Services and [Integrations][] are no longer scopes. An old diagram that breaks a rule still opens, moves and renames; a save that changes a refused binding, scope or shape gets the rule's message.

| Diagram type | Architectural Scope | Subject | Subject boundary | Active rule |
|---|---|---|---|---|
| L0 System Landscape | none | none | none ([Domain][Domains] boundaries may be drawn) | one per set + scope + subject |
| L1 System Context | one [System][Systems], required before Active | the scope | none | one per System |
| L2 Container | one [System][Systems], required before Active | the scope | `System_Boundary` bound to the scope (derived, read-only) | one per System |
| L3 Component | one [System][Systems], required before Active (where the diagram lives) | a [Service][Services] or [Contract][Contracts] (optional) | `Container_Boundary` bound to the subject (derived, read-only) | one per Service or Contract |
| Dynamic | none or one [System][Systems] | the scope | none | several Active allowed |
| Deployment | none or one [System][Systems] | the scope | none | one per scope |

### Shape to Binding

| Shape | Allowed on | Binds to |
|---|---|---|
| Person, Person_Ext | L0, L1, L2, L3, Dynamic | [System][Systems] (C4 Type Person) |
| System, System_Ext, SystemDb, SystemQueue (+_Ext) | L0, L1, L2, L3, Dynamic | [System][Systems] only |
| Container, ContainerDb, ContainerQueue (+_Ext) | L2, L3, Dynamic | [Service][Services] or [Contract][Contracts], never a [System][Systems] |
| Component, ComponentDb, ComponentQueue (+_Ext) | L3, Dynamic | L3: an [Endpoint][Endpoints] (icon from its [Component Type][Component Types], no state), else unbound (pipeline stages, maps, filters). Dynamic: unbound. Never an [Integration][Integrations] |
| Container_Instance (+_Ext) | Deployment | [Service][Services] or [Contract][Contracts] |
| Deployment_Node, Infrastructure node | Deployment | unbound label |
| [Message Type][Message Types] | — | not a node; a Message Type is on a Flow |

### Boundary to Binding

| Boundary | Allowed on | Binds to |
|---|---|---|
| `Enterprise_Boundary` | L0, L1, Dynamic | a [Domain][Domains], or unbound |
| `Boundary` (generic; draw.io group) | L0, L1, L2, L3, Dynamic | a [Domain][Domains], or unbound (on L2/L3 an unbound grouping, for example a BizTalk receive port) |
| `System_Boundary` | L2, Dynamic | a [System][Systems] (L2: the subject, from the scope; Dynamic: one per owning System, generated or bound by hand) |
| `Container_Boundary` | L3, Dynamic (imports only) | a [Service][Services] or [Contract][Contracts] (L3: the subject) |
| `Deployment_Node` | Deployment | unbound |

Connectors: one connector per node pair holds one or more **Flows**; each Flow has at most one [Message Type][Message Types] (several Message Types = several Flows). Every static type draws one connector per pair; a Dynamic keeps one arrow per step. Exports write a Flow's technology as `protocol / Message Type` (or `/ Message Type`).

### Colours on the Canvas and in Mermaid

On the canvas the colour follows the C4 level: Person dark blue, System blue, Container lighter blue, Component lightest, Infrastructure Node grey. An external variant (`Person_Ext`, `System_Ext`, …) has the same colour plus the external-link mark (<i class="fal fa-up-right-from-square" aria-hidden="true"></i>). Only the [Mermaid View][] and the exports draw external elements grey, which is Mermaid's C4 styling. The *Colour* columns below describe the Mermaid output.

<h2 id="c4-level-1-context-diagram-mapping">C4 Level 1 — Context Diagram Mapping</h2>

In a C4 Context diagram you describe **who uses** the system and **what external systems** it interacts with.

| C4 Model Term | C4 Notation | <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> Entity | <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> Property | Notes |
|---|---|---|---|---|
| **Person (internal)** | `Person(alias, "Name", "Desc")` | [System][Systems] | `C4Type = Person` | E.g., "Mobile User", "Finance Analyst" |
| **Person (external)** | `Person_Ext(alias, "Name", "Desc")` | [System][Systems] | `C4Type = PersonExt` | External human actor — grey in Mermaid, ↗ mark on the canvas |
| **Internal Software System** | `System(alias, "Name", "Desc")` | [System][Systems] | `C4Type = InternalSystem` | Systems you own and operate |
| **External Software System** | `System_Ext(alias, "Name", "Desc")` | [System][Systems] | `C4Type = ExternalSystem` | Third-party, SaaS, or partner systems |
| **Internal Database System** | `SystemDb(alias, "Name", "Desc")` | [System][Systems] | `C4Type = SystemDb` | Internal system with database shape |
| **External Database System** | `SystemDb_Ext(alias, "Name", "Desc")` | [System][Systems] | `C4Type = SystemDbExt` | External system with database shape |
| **Internal Queue System** | `SystemQueue(alias, "Name", "Desc")` | [System][Systems] | `C4Type = SystemQueue` | Internal system with queue shape |
| **External Queue System** | `SystemQueue_Ext(alias, "Name", "Desc")` | [System][Systems] | `C4Type = SystemQueueExt` | External system with queue shape |
| **Relationship / Interaction** | `Rel(from, to, "Label", "Tech")` | Connector | One or more Flows, each with a label, a protocol and at most one Message Type | One connector per node pair; technology text `protocol / Message Type` |
| **Bidirectional Relationship** | `BiRel(from, to, "Label", "Tech")` | Connector | Flows in both directions | Arrow in both directions |
| **The System in focus** | `System(...)` on an L1 | [System][Systems] | The diagram's Architectural Scope | <sup><span class="nodinite-new-badge">New 7.12</span></sup> An L1 has no `System_Boundary`; its subject is its scope System, and the neighbouring Systems are `System_Ext` |
| **Domain** | `Boundary(...)` or `Enterprise_Boundary(...)` | [Domain][Domains] | Boundary binding | On L0 and L1 diagrams |

### C4Type Values at a Glance

| `C4Type` | Value | C4 Term | Mermaid emitted | Colour in Mermaid | <i class="fal fa-icons" aria-hidden="true"></i> |
|---|---|---|---|---|---|
| `InternalSystem` | 1 | Software System (internal) | `System(...)` | Blue | <i class="fal fa-server" aria-hidden="true"></i> |
| `ExternalSystem` | 2 | Software System (external) | `System_Ext(...)` | Grey | <i class="fal fa-server" aria-hidden="true"></i> + <i class="fal fa-up-right-from-square" aria-hidden="true"></i> overlay |
| `Person` | 3 | Person (internal) | `Person(...)` | Blue | <i class="fal fa-user" aria-hidden="true"></i> |
| `PersonExt` | 4 | Person (external) | `Person_Ext(...)` | Grey | <i class="fal fa-user" aria-hidden="true"></i> + <i class="fal fa-up-right-from-square" aria-hidden="true"></i> overlay |
| `SystemDb` | 5 | Database system (internal) | `SystemDb(...)` | Blue | <i class="fal fa-database" aria-hidden="true"></i> |
| `SystemDbExt` | 6 | Database system (external) | `SystemDb_Ext(...)` | Grey | <i class="fal fa-database" aria-hidden="true"></i> + <i class="fal fa-up-right-from-square" aria-hidden="true"></i> overlay |
| `SystemQueue` | 7 | Queue system (internal) | `SystemQueue(...)` | Blue | <i class="fal fa-layer-group" aria-hidden="true"></i> |
| `SystemQueueExt` | 8 | Queue system (external) | `SystemQueue_Ext(...)` | Grey | <i class="fal fa-layer-group" aria-hidden="true"></i> + <i class="fal fa-up-right-from-square" aria-hidden="true"></i> overlay |
| `None` | 0 | *(no C4 shape set)* | — | — | — |

<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><strong>The external overlay:</strong> on the canvas external variants keep their level's colour and carry a <i class="fal fa-up-right-from-square" aria-hidden="true"></i> icon overlay at the top-right corner, so they are distinguishable without relying on colour — WCAG-compliant in greyscale and high-contrast environments. Grey is used only in the Mermaid output. Note: <code>:fa-building:</code> is reserved exclusively for the <code>Enterprise_Boundary</code> shape; <code>ExternalSystem</code> uses <code>:fa-server:</code> with the external overlay.</p><p>The System page offers all nine C4 Types, the same list as the import's <strong>Create new</strong> (see <a href="https://docs.nodinite.com/repository-model/c4-diagrams/troubleshooting/repository-properties-for-c4-diagramming/">Repository Properties for C4 Diagramming</a>).</p></div>
</aside>

<h2 id="c4-level-2-container-diagram-mapping">C4 Level 2 — Container Diagram Mapping</h2>

In a C4 Container diagram you zoom into one System and show its **containers**: the applications, services, databases, and message buses. <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>, a Container binds to a **Service** or a **Contract**, never a System. Draw a platform or portal as a System shape (`System_Ext`) beside the System Boundary:

| C4 Model Term | C4 Notation | <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> Entity | <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> Property | Notes |
|---|---|---|---|---|
| **Container** | `Container(alias, "Name", "Tech", "Desc")` | [Service][Services] or [Contract][Contracts] | `C4ContainerType` + `C4Technology` | REST APIs, Databases, Message Buses, Web Apps, etc. |
| **System Boundary** | `System_Boundary(alias, "Name") { }` | [System][Systems] | The diagram's Architectural Scope | The L2's subject, bound from the scope (derived, read-only) |
| **Generic Boundary** | `Boundary(alias, "Name", "type") { }` | [Domain][Domains], or unbound | `BoundaryType = Boundary` | A grouping inside the System Boundary, for example a Domain or a layer |
| **Nested Boundary** | Boundary inside a boundary | Per its kind | Parent boundary set during import | Nesting resolved during [import wizard][Import]; per-diagram |
| **Neighbouring System** | `System_Ext(...)` outside the System Boundary | [System][Systems] | `C4Type = ExternalSystem` | The Systems this System exchanges messages with |
| **Person** | `Person(...)` / `Person_Ext(...)` | [System][Systems] | `C4Type = Person` / `PersonExt` | Same as L1 |
| **Relationship** | `Rel(from, to, "Label", "Tech")` | Connector | Flows | Same as L1 |
| **Person Role subtitle** | Subtitle text under a Person or Person_Ext shape | [System][Systems] | [`C4PersonRole`][Repository Properties for C4 Diagramming] | E.g., "Customer", "IT Administrator" |
| **Technology label** | Third parameter `$techn` in `Container(...)` | [Service][Services] or [Contract][Contracts] (Systems have no C4 Technology) | `C4Technology`, or the node's own technology | E.g., "ASP.NET Core", "SQL Server"; a Flow's technology carries `protocol / Message Type` |

<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><code>C4ElementKind</code> on the node controls the rendering shape (container rectangle, database cylinder, etc.) independently of the bound Service or Contract. A Container named after a System imports unbound, with a note to draw it as a System shape.</p></div>
</aside>

The `C4ContainerType` values and the shape each one seeds are listed in [Repository Properties for C4 Diagramming][].

<h2 id="c4-level-3-component-diagram-mapping">C4 Level 3 — Component Diagram Mapping</h2>

In a C4 Component diagram you zoom into a single **Container**, the diagram's subject Service or Contract, and show what is inside it. <sup><span class="nodinite-new-badge">New 7.12</span></sup> The diagram's scope is a System, where it lives; its subject is the Service or Contract.

| C4 Model Term | C4 Notation | <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> Entity | <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> Property | Notes |
|---|---|---|---|---|
| **Component** | `Component(alias, "Name", "Tech", "Desc")` | [Endpoint][Endpoints] of the subject, or unbound | Exact Endpoint name | An Endpoint Component shows the Endpoint's Component Type icon, has **View** only and no state. Pipeline stages, maps and filters stay unbound. Never an Integration |
| **Container Boundary** | `Container_Boundary(alias, "Name") { }` | [Service][Services] or [Contract][Contracts] | The diagram's Subject | Derived from the subject, read-only |
| **Neighbouring Container** | `Container(...)` / `Container_Ext(...)` outside the boundary | [Service][Services] or [Contract][Contracts] | — | Related Services; `Container_Ext` when in another System |
| **Relationship** | `Rel(from, to, "Label", "Tech")` | Connector | Flows | Same as L1 and L2 |
| **Person** | `Person(...)` | [System][Systems] | `C4Type = Person` | Same as L1 |
| **External System** | `System_Ext(...)` | [System][Systems] | `C4Type = ExternalSystem` | Same as L1 |

<h2 id="c4-deployment-diagram-mapping">C4 Deployment Diagram Mapping</h2>

A Deployment diagram shows where containers are physically hosted: cloud regions, VNets, servers, on-premises zones. <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>, `Deployment_Node`s and infrastructure nodes are **unbound labels**: no Domain, no Service.

| C4 Model Term | C4 Notation | <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> Entity | <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> Property | Notes |
|---|---|---|---|---|
| **Deployment Node** | `Deployment_Node(alias, "Name", "Tech") { }` | none (unbound label) | `C4BoundaryType = DeploymentNode` | Represents a server, cloud region, VNet, or any infrastructure envelope |
| **Nested Deployment Node** | `Deployment_Node` inside another | none | Parent boundary set in designer | Nesting is per-diagram |
| **Container Instance** | `Container(alias, "Name", "Tech")` inside a node | [Service][Services] or [Contract][Contracts] | Stored as a Container Instance | Mermaid and PlantUML have no `Container_Instance`: the export writes `Container` inside the `Deployment_Node`, and the import stores it as a Container Instance |
| **Relationship** | `Rel(from, to, "Label", "Tech")` | Connector | Flows | Same as all other types |

<h2 id="c4-dynamic-diagram-mapping">C4 Dynamic Diagram Mapping</h2>

A Dynamic diagram shows the **runtime interaction sequence** for a specific business scenario. The key difference from other types is that relationships carry a **step order** — the numbered sequence of interactions.

| C4 Model Term | C4 Notation | <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> Entity | <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> Property | Notes |
|---|---|---|---|---|
| **Person** | `Person(alias, "Name")` | [System][Systems] | `C4Type = Person` | Same as L1 |
| **Container** | `Container(alias, "Name")` | [Service][Services] (and [Contract][Contracts] in grouped runtime when `UseContracts=true`) | Same as L2 for authored diagrams | Dynamic focuses on sequence; grouped runtime can classify a single resolved contract as the participant |
| **System Boundary** | `System_Boundary(alias, "Name") { }` | [System][Systems] | One per owning System | <sup><span class="nodinite-new-badge">New 7.12</span></sup> Drawn by the generators around each System's participants, or bound by hand |
| **Enterprise or generic Boundary** | `Enterprise_Boundary(...)`, `Boundary(...)` | [Domain][Domains], or unbound | Boundary binding | — |
| **Component** | `Component(...)` | none | Unbound | From imports only |
| **Ordered relationship** | `Rel(from, to, "N. Label", "Tech")` | Connector | Label with parsed step order; one Message Type per step | The numeric prefix (e.g., `1.`, `2.`) is parsed on import and stored as the step order; the label is stored without it |

<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 order is preserved end-to-end: the generator writes the steps in the stored order, without the numbers, and Mermaid numbers them when it draws the diagram. <sup><span class="nodinite-new-badge">New 7.12</span></sup> Each step's technology is written as the fourth argument, <code>protocol / Message Type</code>. Each step resolves through the Transport Contracts of its Service or Contract ends; an end that can't resolve is an issue, shown in the Designer's Steps panel and never refused. See the <a href="https://docs.nodinite.com/repository-model/c4-diagrams/getting-started/examples/order-to-cash/dynamic-diagram-example/">Dynamic Diagram Example</a>.</p></div>
</aside>

<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>This mapping describes authored Dynamic diagrams inside <a href="https://docs.nodinite.com/repository-model/c4-diagrams/features/what-is-a-c4-diagram-set/">Diagram Sets</a>. <a href="https://docs.nodinite.com/repository-model/c4-diagrams/features/inspect-grouped-log-views-as-runtime-diagrams/">Grouped Log View runtime inspection</a> is a separate view and can present the same runtime path in Participants mode or Systems mode.</p></div>
</aside>

<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>In grouped runtime inspection with <code>UseContracts=true</code>, a single resolved <a href="https://docs.nodinite.com/getting-started/repository/contracts/overview/">Contract</a> can be selected as the participant and its owning <a href="https://docs.nodinite.com/repository-model/systems/overview/">System</a> is used for Systems-mode boundary placement.</p></div>
</aside>

## Domain Boundaries — Per-Diagram, Not Global

A key difference between C4 model boundaries and <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> Domains:

| | C4 Model | <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> Implementation |
|---|---|---|
| **Boundary definition** | Defined per diagram with arbitrary text labels | Reuses existing [Domains][] from the Repository — no new entities |
| **Ordering** | Defined by the order they appear in the diagram file | `C4DiagramLanes.LaneOrder` column — per-diagram, not a global [Domain][Domains] property |
| **Boundary type** | Different macros (`Enterprise_Boundary`, `System_Boundary`, etc.) | `C4BoundaryType` set per boundary — per-diagram. Only `Boundary` and `Enterprise_Boundary` bind a [Domain][Domains] |
| **Nesting** | Boundaries can be nested inside other boundaries | A [Domain][Domains] boundary can have a parent boundary in the same diagram — nesting is per-diagram |
| **Reuse** | A boundary label is just text; not reusable | A [Domain][Domains] can appear in multiple C4 diagrams with different boundary orders, boundary types, and nesting |

This means: reordering, reclassifying, or nesting Domains in one C4 diagram does NOT affect the Domain's position or appearance in the [BPM designer][BPM] or any other C4 diagram. All boundary configuration is always scoped to a specific diagram.

Which kind goes on which diagram type, and what it binds to, is in [Boundary to Binding](#boundary-to-binding).

## Connector / Relationship Mapping

| C4 Model | <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> C4 Diagram | Notes |
|---|---|---|
| `Rel(from, to, "Label")` | Connector with one Flow | Directional arrow from source to target |
| `Rel(from, to, "Label", "Tech")` | Connector with label and protocol | `Protocol` maps to C4 `$techn`; text after the slash in `protocol / Message Type` is the Flow's [Message Type][Message Types] |
| `BiRel(from, to, "Label", "Tech")` | Bidirectional connector | Arrow rendered in both directions |
| `Rel(from, to, "A; B", "T1; T2")` | <sup><span class="nodinite-new-badge">New 7.12</span></sup> One connector, several Flows | Mermaid and PlantUML fold a node pair into one `Rel` (one way) or `BiRel` (both ways), labels and technology items joined by a semicolon and a space. On a `BiRel` each technology item starts with `→`, `←` or `↔` (`-` for none). The import splits them back into Flows |
| `Rel(from, to, "N. Label")` *(Dynamic)* | Ordered connector with step number | The leading numeric prefix (e.g., `1.`) is parsed as sequence order on import; the generator writes the steps in that order and Mermaid numbers them — ordering is preserved through the full round-trip |

## Properties Added to Existing Entities

C4 Diagrams required adding a small set of new properties to existing <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> Repository entities. These are **global properties** — they are not per-diagram and will appear across the product wherever those entities are used. They are edited on each entity's **C4 Properties** card, which also holds the [Component Type][Component Types] on Systems, Services, Contracts, Domains, [Integrations][], [Message Types][] and [Endpoints][]. <sup><span class="nodinite-new-badge">New 7.12</span></sup> An Integration's card holds only the Component Type: it is never drawn in C4.

### New Properties on System

| Property | Type | Purpose | C4 concept |
|---|---|---|---|
| `C4Type` | Enum | Classifies the System's role in C4 diagrams | Person / InternalSystem / ExternalSystem |
| `C4PersonRole` | string | Subtitle shown under Person-type nodes | C4 Person description |
| `C4PositionHint` | Enum | Default placement hint (Top / Bottom) | Actor position relative to boundary stack |

### New Properties on Service

| Property | Type | Purpose | C4 concept |
|---|---|---|---|
| `C4ContainerType` | Enum | Classifies the Service as a C4 Container type | Container (API, Database, MessageBus, etc.) |
| `C4Technology` | string | Technology stack / platform label | C4 `$techn` parameter in `Container(...)` |

### New Properties on Contract

| Property | Type | Purpose | C4 concept |
|---|---|---|---|
| `C4ContainerType` | Enum | Classifies the [Contract][Contracts] as a C4 Container type, as on Services | Container |
| `C4Technology` | string | Technology stack / platform label | C4 `$techn` parameter in `Container(...)` |

### New Properties on Domain

| Property | Type | Purpose | C4 concept |
|---|---|---|---|
| `DefaultBoundaryType` | Enum (nullable) | Default boundary kind when this Domain is bound to a boundary | `Boundary` or `Enterprise_Boundary` |
| `DefaultTypeLabel` | string (nullable) | Default label seeded into the Domain's boundaries (e.g., `"Domain"`) | C4 `$type` parameter in `Boundary(...)` |

## What Is NOT Changed

The following entities and tables are **completely unchanged** in the C4 Diagrams feature:

| Entity / Table | Why unchanged |
|---|---|
| `BPMs`, `BPMLanes`, `BPMPhases`, `BPMServices`, `BPMConnectors` | C4 Diagrams is entirely additive — BPM tables are not touched |
| `Domains` global ordering | Domain boundary ordering is per-diagram via `C4DiagramLanes.LaneOrder`, not a Domain-level column |
| `MessageTypes`, `Endpoints` | No C4 shape properties; they have only a Component Type on the C4 Properties card. An Endpoint is an L3 Component binding, and a Message Type travels on Flows |
| Existing "Show in Mermaid" rendering on Integrations/Services | Continues to work as-is ([Mermaid Rendering][]); the C4 Diagram [Mermaid View][] is a separate output |

## Frequently Asked Questions

### Why is the C4 "System" mapped to Nodinite "System" but the names look different?

In pure C4 model language, "System" means a top-level software system containing many containers. In <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>, the **System** entity represents any software product, organization, or platform — which maps naturally to C4's external actors (Person, ExternalSystem). The **Service** and **Contract** entities hold the detailed container-level information (what the system runs, how it communicates), which maps to C4 **Container**.

### Can I use a Domain as a C4 "System Boundary" (the dotted box)?

No. A `System_Boundary` binds a System; on an L2 it is the diagram's subject, bound from its scope. Draw a Domain as an `Enterprise_Boundary` or a generic `Boundary`, bound to the [Domain][Domains] or kept as a label-only boundary. Label-only boundaries are useful for external organisation zones, cloud regions, or partner system groups.

The boundary type is detected automatically from the Mermaid macro and stored per boundary element — no manual selection required.

### Can I nest boundaries inside other boundaries?

Yes. During the import wizard, boundaries parsed from nested `Boundary { }` blocks in the Mermaid source are stored with parent–child relationships. The Mermaid output will render the inner boundary as a block nested inside its parent boundary. Nesting is a per-diagram setting — it does not affect the Domain's appearance in the BPM designer or any other C4 diagram.

### Can I place a System (actor) inside a boundary?

Yes. During the import wizard, if your Mermaid source has a `System(...)` or `Person(...)` element nested inside a `Boundary { }` block, it is stored as a member of that boundary. The Mermaid output re-emits it inside the boundary block. This is useful for L0 and L1 diagrams where Systems sit inside an `Enterprise_Boundary` or a generic `Boundary` block, such as their Domain.

### What happens if a Service has no C4ContainerType set?

A node that gets its shape from the Service is seeded as a generic `Container(...)`. On import the markup's macro decides the shape anyway. It is recommended to set `C4ContainerType` before including a Service in a C4 diagram, so generated diagrams and the Designer's resolver seed the right shape.

### Can I have the same Service appear under two different Domains in the same diagram?

Yes. This matches the existing many-to-many relationship between Services and Domains in the Repository (same model used by BPM). A non-blocking warning is shown when you drag a Service into a second boundary in the same diagram, but the insert succeeds.

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

* <i class="fal fa-book" aria-hidden="true"></i> [Repository Properties for C4 Diagramming][Repository Properties for C4 Diagramming]  
* <i class="fal fa-graduation-cap" aria-hidden="true"></i> [Creating Your First C4 Diagram][Creating Your First C4 Diagram]  
* <i class="fal fa-circle-question" aria-hidden="true"></i> [C4 Diagrams Troubleshooting][C4 Troubleshooting]  

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

* <i class="fal fa-layer-group" aria-hidden="true"></i> [C4 Diagrams Overview][C4 Diagrams Overview]  
* <i class="fal fa-circle-info" aria-hidden="true"></i> [What is C4 Diagrams?][What is C4 Diagrams]  
* <i class="fal fa-shapes" aria-hidden="true"></i> [Shapes and Toolbox Reference][Shapes and Toolbox]  
* <i class="fal fa-file-import" aria-hidden="true"></i> [Import][]  
* <i class="fal fa-object-group" aria-hidden="true"></i> [Organising with Boundaries][]  
* <i class="fal fa-robot" aria-hidden="true"></i> [MCP Endpoint][]  
* <i class="fal fa-sitemap" aria-hidden="true"></i> [Model Your Integration Landscape][Model the Landscape]  

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Repository/C4/Troubleshooting/C4Concept_LevelsOnO2C.gif

[BPM]: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 Diagrams Overview]:https://docs.nodinite.com/repository-model/c4-diagrams/overview/
[C4 Troubleshooting]:https://docs.nodinite.com/repository-model/c4-diagrams/troubleshooting/overview/
[Component Types]:https://docs.nodinite.com/repository-model/component-types/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/
[Domains]:https://docs.nodinite.com/repository-model/domains/overview/
[Dynamic Diagram 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/
[Import]:https://docs.nodinite.com/repository-model/c4-diagrams/features/import/
[Integrations]:https://docs.nodinite.com/repository-model/integrations/overview/
[Log Runtime Inspection]:https://docs.nodinite.com/repository-model/c4-diagrams/features/inspect-grouped-log-views-as-runtime-diagrams/
[MCP Endpoint]:https://docs.nodinite.com/ai/mcp-endpoint/
[Mermaid Rendering]:https://docs.nodinite.com/mapify/features/mermaid-rendering/
[Mermaid View]:https://docs.nodinite.com/repository-model/c4-diagrams/features/mermaid-view/
[Message Types]:https://docs.nodinite.com/repository-model/message-types/overview/
[Model the Landscape]:https://docs.nodinite.com/getting-started/repository/documentation-strategy/model-your-integration-landscape/
[Navigation Between C4 Diagrams]:https://docs.nodinite.com/repository-model/c4-diagrams/features/sync/
[Organising with Boundaries]:https://docs.nodinite.com/repository-model/c4-diagrams/designer/organising-with-boundaries/
[Repository]: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/
[Web API]:https://docs.nodinite.com/core-services/web-api/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/