Skip to content
Documentation
Updated 17 minutes to read
Markdown

This page provides a complete side-by-side mapping of the C4 model's terminology and the corresponding Nodinite Repository entities and properties used in C4 Diagrams. Use this reference when the documentation from c4model.com uses different language than what you see in the Nodinite UI.

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

Nodinite 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 Nodinite diagram type, so Nodinite 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
System Context L1 Systems, people, and high-level relationships between them Executives, product owners, architects C4 Level 1 Mapping
Container L2 Applications, services, databases, and their interactions inside a boundary Platform engineers, solution architects, dev teams C4 Level 2 Mapping
Component L3 Internal modules or components inside a container Developers, tech leads, code reviewers C4 Level 3 Mapping
Deployment — Infrastructure nodes, deployment environments, and how containers are placed across them DevOps, operations, cloud architects Deployment Mapping
Dynamic — Runtime interaction sequence for a specific business workflow Integration teams, technical leads Dynamic Mapping
Code (generic C4 model only) — Class diagrams and low-level implementation detail Developers reviewing specific implementations Not a Nodinite diagram type. Obtainable via the Nodinite 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)
Animated walkthrough: a C4 Software System is a Nodinite System, a C4 Container is a Service (L2), and each node's View opens the bound Repository item. New 7.12 On an L3 a C4 Component is an Endpoint of the diagram's subject Service, and you move down a level with the Inside navigation pill; the Order-to-Cash demo's L3 is INT1337-RCV-Order-Incoming.

Scope, Subject, and Bindings per Diagram Type

Section titled “Scope, Subject, and Bindings per Diagram Type”

New 7.12 The same rules apply to every save, from the Web API, the 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 boundaries may be drawn) one per set + scope + subject
L1 System Context one System, required before Active the scope none one per System
L2 Container one System, required before Active the scope System_Boundary bound to the scope (derived, read-only) one per System
L3 Component one System, required before Active (where the diagram lives) a Service or Contract (optional) Container_Boundary bound to the subject (derived, read-only) one per Service or Contract
Dynamic none or one System the scope none several Active allowed
Deployment none or one System the scope none one per scope
Shape Allowed on Binds to
Person, Person_Ext L0, L1, L2, L3, Dynamic System (C4 Type Person)
System, System_Ext, SystemDb, SystemQueue (+_Ext) L0, L1, L2, L3, Dynamic System only
Container, ContainerDb, ContainerQueue (+_Ext) L2, L3, Dynamic Service or Contract, never a System
Component, ComponentDb, ComponentQueue (+_Ext) L3, Dynamic L3: an Endpoint (icon from its Component Type, no state), else unbound (pipeline stages, maps, filters). Dynamic: unbound. Never an Integration
Container_Instance (+_Ext) Deployment Service or Contract
Deployment_Node, Infrastructure node Deployment unbound label
Message Type — not a node; a Message Type is on a Flow
Boundary Allowed on Binds to
Enterprise_Boundary L0, L1, Dynamic a Domain, or unbound
Boundary (generic; draw.io group) L0, L1, L2, L3, Dynamic a Domain, or unbound (on L2/L3 an unbound grouping, for example a BizTalk receive port)
System_Boundary L2, Dynamic a System (L2: the subject, from the scope; Dynamic: one per owning System, generated or bound by hand)
Container_Boundary L3, Dynamic (imports only) a Service or Contract (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 (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).

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

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

C4 Model Term C4 Notation Nodinite Entity Nodinite Property Notes
Person (internal) Person(alias, "Name", "Desc") System C4Type = Person E.g., "Mobile User", "Finance Analyst"
Person (external) Person_Ext(alias, "Name", "Desc") System C4Type = PersonExt External human actor — grey in Mermaid, ↗ mark on the canvas
Internal Software System System(alias, "Name", "Desc") System C4Type = InternalSystem Systems you own and operate
External Software System System_Ext(alias, "Name", "Desc") System C4Type = ExternalSystem Third-party, SaaS, or partner systems
Internal Database System SystemDb(alias, "Name", "Desc") System C4Type = SystemDb Internal system with database shape
External Database System SystemDb_Ext(alias, "Name", "Desc") System C4Type = SystemDbExt External system with database shape
Internal Queue System SystemQueue(alias, "Name", "Desc") System C4Type = SystemQueue Internal system with queue shape
External Queue System SystemQueue_Ext(alias, "Name", "Desc") System 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 The diagram's Architectural Scope New 7.12 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 Boundary binding On L0 and L1 diagrams
C4Type Value C4 Term Mermaid emitted Colour in Mermaid
InternalSystem 1 Software System (internal) System(...) Blue
ExternalSystem 2 Software System (external) System_Ext(...) Grey + overlay
Person 3 Person (internal) Person(...) Blue
PersonExt 4 Person (external) Person_Ext(...) Grey + overlay
SystemDb 5 Database system (internal) SystemDb(...) Blue
SystemDbExt 6 Database system (external) SystemDb_Ext(...) Grey + overlay
SystemQueue 7 Queue system (internal) SystemQueue(...) Blue
SystemQueueExt 8 Queue system (external) SystemQueue_Ext(...) Grey + overlay
None 0 (no C4 shape set) — — —

In a C4 Container diagram you zoom into one System and show its containers: the applications, services, databases, and message buses. New 7.12 In Nodinite, 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 Nodinite Entity Nodinite Property Notes
Container Container(alias, "Name", "Tech", "Desc") Service or Contract C4ContainerType + C4Technology REST APIs, Databases, Message Buses, Web Apps, etc.
System Boundary System_Boundary(alias, "Name") { } System The diagram's Architectural Scope The L2's subject, bound from the scope (derived, read-only)
Generic Boundary Boundary(alias, "Name", "type") { } Domain, 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; per-diagram
Neighbouring System System_Ext(...) outside the System Boundary System C4Type = ExternalSystem The Systems this System exchanges messages with
Person Person(...) / Person_Ext(...) System 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 C4PersonRole E.g., "Customer", "IT Administrator"
Technology label Third parameter $techn in Container(...) Service or Contract (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

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

In a C4 Component diagram you zoom into a single Container, the diagram's subject Service or Contract, and show what is inside it. New 7.12 The diagram's scope is a System, where it lives; its subject is the Service or Contract.

C4 Model Term C4 Notation Nodinite Entity Nodinite Property Notes
Component Component(alias, "Name", "Tech", "Desc") Endpoint 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 or Contract The diagram's Subject Derived from the subject, read-only
Neighbouring Container Container(...) / Container_Ext(...) outside the boundary Service or Contract — Related Services; Container_Ext when in another System
Relationship Rel(from, to, "Label", "Tech") Connector Flows Same as L1 and L2
Person Person(...) System C4Type = Person Same as L1
External System System_Ext(...) System C4Type = ExternalSystem Same as L1

A Deployment diagram shows where containers are physically hosted: cloud regions, VNets, servers, on-premises zones. New 7.12 In Nodinite, Deployment_Nodes and infrastructure nodes are unbound labels: no Domain, no Service.

C4 Model Term C4 Notation Nodinite Entity Nodinite 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 or Contract 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

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 Nodinite Entity Nodinite Property Notes
Person Person(alias, "Name") System C4Type = Person Same as L1
Container Container(alias, "Name") Service (and Contract 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 One per owning System New 7.12 Drawn by the generators around each System's participants, or bound by hand
Enterprise or generic Boundary Enterprise_Boundary(...), Boundary(...) Domain, 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

Domain Boundaries — Per-Diagram, Not Global

Section titled “Domain Boundaries — Per-Diagram, Not Global”

A key difference between C4 model boundaries and Nodinite Domains:

C4 Model Nodinite 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 property
Boundary type Different macros (Enterprise_Boundary, System_Boundary, etc.) C4BoundaryType set per boundary — per-diagram. Only Boundary and Enterprise_Boundary bind a Domain
Nesting Boundaries can be nested inside other boundaries A Domain 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 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 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.

C4 Model Nodinite 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
BiRel(from, to, "Label", "Tech") Bidirectional connector Arrow rendered in both directions
Rel(from, to, "A; B", "T1; T2") New 7.12 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

C4 Diagrams required adding a small set of new properties to existing Nodinite 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 on Systems, Services, Contracts, Domains, Integrations, Message Types and Endpoints. New 7.12 An Integration's card holds only the Component Type: it is never drawn in C4.

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
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(...)
Property Type Purpose C4 concept
C4ContainerType Enum Classifies the Contract as a C4 Container type, as on Services Container
C4Technology string Technology stack / platform label C4 $techn parameter in Container(...)
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(...)

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

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

Section titled “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 Nodinite, 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)?

Section titled “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 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?

Section titled “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?

Section titled “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?

Section titled “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?

Section titled “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.

...

Version:
Release date: N/A
Loading...

Explore Nodinite for 30 days – completely free

  • Find out why this is the leading O&M software
  • Prove your business case
  • Test the self-service for the business side

Loading...

See how Nodinite resolves your technical issues, in a LIVE Demo!

Once you submit this request:

  • We will give you a short call to understand the issues you want to tackle.
  • Understand solutions you have tried and why were you not happy with them.
  • Book a convenient slot for a LIVE demo!

Loading...