Skip to content
Documentation
Updated 13 minutes to read
Markdown

This getting started tutorial walks you through how to create a C4 diagram directly in the C4 Designer: build a Diagram Set, add a new diagram and choose its level, place nodes and boundaries from the Toolbox, and bind them to real entities in your Repository Model.

Create a Diagram Set and the Context diagram Portal — System Context, drop a Person and a System from the Toolbox, and connect them, animated walkthrough (7.12)
Animated walkthrough: a new Diagram Set from Add Diagram Set (Layered by default), then New Diagram named Portal — System Context (Context is the default level), opened in the Designer, a Person and a System dragged from the Toolbox, and a connector between them. Every drop and connector is saved at once, in a Draft diagram.

Understanding How a Diagram Comes Together

Section titled “Understanding How a Diagram Comes Together”

To create a C4 diagram, you need a Diagram Set: it holds one or more diagrams. Each diagram is built by dragging shapes from a type-specific Toolbox onto the canvas, then binding those shapes to real Repository entities.

graph LR Set["fa:fa-folder Diagram Set"] Diagram["fa:fa-sitemap New Diagram
Type + Name"] Toolbox["fa:fa-toolbox Toolbox
Shapes / Boundaries"] Canvas["fa:fa-diagram-project Nodes and Boundaries
on the Canvas"] Bind["fa:fa-link Repository Bindings
System / Service / Contract / Endpoint / Domain"] Meta["fa:fa-tags Custom Metadata"] Set --> Diagram Diagram --> Toolbox Toolbox --> Canvas Canvas --> Bind Canvas --> Meta style Set fill:#2678BD style Diagram fill:#2678BD style Toolbox fill:#FFD525 style Canvas fill:#FFD525 style Bind fill:#93d16d style Meta fill:#93d16d

Diagram: A Diagram Set holds diagrams (blue, structure); each diagram is populated from its Toolbox (yellow, authoring); nodes and boundaries are then bound to Repository entities through Repository Bindings and can carry Custom Metadata (green, Repository link).

Piece Role
Diagram Set Groups every diagram for one architectural subject, so related views stay connected
Diagram One C4 view — System Landscape (L0), Context (L1), Container (L2), Component (L3), Dynamic, or Deployment — with its own Draft/Active lifecycle
Toolbox The palette of shapes for the current diagram's level: one section per shape group (Persons, Systems, Containers, …), then Boundaries and Connectors
Node A shape on the canvas — a Person, System, Container, or Component
Boundary A container that groups related nodes. What it can be bound to follows its kind: an Enterprise Boundary or a generic Boundary to a Domain (or nothing), a System Boundary to a System, a Container Boundary to a Service or Contract; a Deployment Node stays unbound
Repository Binding Links a node or boundary to a real System, Service, Contract, Endpoint (New 7.12 Components on a Component diagram), or Domain so it shows live names, health, and navigation
Custom Metadata Optional key/value attachments on a bound node, used for filtering and highlighting on the canvas

Step 1 — Navigate to Architecture Diagrams

Section titled “Step 1 — Navigate to Architecture Diagrams”

In the Nodinite left navigation, open Repository, and under Architecture Diagrams click Diagram Sets. The page shows the list of Diagram Sets you have access to.

New 7.12 Besides the rights on the Diagram Set, you need Access on every Repository part a C4 diagram shows: Systems, Services, Integrations, Message Types, Endpoints, and Domains, plus Contracts when Contracts are on. Without them, opening a diagram answers 403 Forbidden with "C4 needs more Repository rights" and the list of missing rights. To design (this tutorial), you also need Create and Modify on Systems, Services, Integrations, and Domains (plus Contracts). See Permission Set for C4 Diagram Sets.

A Diagram Set groups all diagrams for one architectural subject together. Before creating a diagram, you must have a set to hold it.

  1. Click Add Diagram Set
  2. Enter a Name for the set — use a business subject name, not a diagram type (e.g., "Order-to-Cash", "Supplier Onboarding", "ERP Integrations")
  3. Optionally fill in Description, Web Site, and Tags
  4. Choose the Set Mode: Layered (the default) or Free Draw (see Scope and mode decision below)
  5. Optionally assign Roles in the Roles card
  6. Click Create

You stay on the Diagram Sets list, with a Success message; the new set does not open by itself. Click the set in the list to open it.

The set page has a toolbar (Mapify, Mermaid, Export, Import, Edit, and New Diagram ), an Assistance and Coverage card, and a filterable list of the set's diagrams. A new set has an empty list. See Add or manage C4 Diagram Set for every field and action on a set.

Tip: You can add as many diagrams of different types as you need — one set can hold an L0 Landscape, an L1 Context, two L2 Containers for different systems, and a Dynamic diagram. They are all siblings. New 7.12 Navigation between them is inferred each time a diagram opens, from its type, its scope and subject, and the bindings of its elements: nothing is stored and nothing needs to be synced. A System offers the Inside, Context, and Dynamic pills, a diagram Zoom out and Related view; see Navigation Between C4 Diagrams.

Treat the Architectural Scope as the identity of the architecture your diagram describes. New 7.12 The scope is always one System: a System Landscape has none, Context, Container, and Component diagrams have exactly one, and Dynamic and Deployment diagrams have none or one. A Component diagram also has a Subject, the Service or Contract whose inside it shows.

Use:

  • Layered Mode when adding or removing nodes and boundaries should propagate to the set's related Layered Drafts, so the bindings stay consistent across zoom levels.
  • Free Draw when you want local node and boundary edits that do not affect other Draft diagrams.

Neither mode changes how navigation is inferred.

See Diagram Set Fundamentals for the full scope model and how Layered Mode and Free Draw behave per scope.

On the set page, click New Diagram. (Add Diagram is the button with the same purpose on the Designer's own toolbar.) The New C4 Diagram dialog asks for:

  1. The Diagram Set — the current set is selected; switch between Selected and All to pick another, or create a new set
  2. Name — the diagram title (e.g., "ERP Internal Structure") — and an optional Description
  3. Level — choose the level that matches the view you want to build:
    • System Landscape
    • Context (the default)
    • Container
    • Component
    • Dynamic
    • Deployment
  4. New 7.12 Architectural Scope — for every level with a scope, the System the diagram describes (Systems only; a System Landscape has no scope)
  5. New 7.12 Subject — Component only: Optional. The Service or Contract whose inside this Component diagram shows. Its Container Boundary is bound to it. (a Contract when UseContracts is on)
  6. Diagram State — always Draft for a new diagram
  7. Bring tags from the selected diagram set — copies the set's Tags to the new diagram

Click Create. A dialog asks Open Diagram Designer?: click Yes to open the new diagram in the Designer, with the Toolbox visible, or No to stay on the set page.

For a Container diagram, pick the System it zooms into (e.g., "ERP" — this is what makes it distinct from another Container diagram for "Portal"). For a Component diagram, the scope is the System where the diagram lives, and the subject is the Service (or Contract) it zooms into. You can change both later in Edit Properties, and the orange banner at the top of a Context, Container, or Component diagram without a scope holds the Architectural Scope picker too.

Scope is not cosmetic. Scope and subject decide which navigation pills the diagram's elements get, and a Context, Container, or Component diagram needs a scope before you can promote it (Step 7).

Step 4 — Add Nodes and Boundaries from the Toolbox

Section titled “Step 4 — Add Nodes and Boundaries from the Toolbox”

The Toolbox sits on the left side of the Designer. Its contents are context-sensitive — only shapes valid for the current diagram level are shown, in sections named after their shape group. A Context diagram, for example, has the sections Persons, Systems, Boundaries, and Connectors.

  1. Expand the section for the shape you need — for example Persons or Systems on a Context diagram, or Containers on a Container diagram
  2. Click and drag a tile onto the canvas
  3. Release the mouse button to drop the shape at that position — it is created and saved automatically

Most shapes exist in an internal and external variant (external shapes show a small overlay icon). See Shapes and Toolbox Reference for the section order and the full availability matrix per diagram level.

Boundaries group related elements inside a named container. An Enterprise Boundary or a generic Boundary often represents a Domain in your architecture.

  1. Expand the Boundaries section in the Toolbox
  2. Choose a boundary type — on a Context diagram Boundary or Enterprise Boundary; other levels offer other boundaries (System Boundary on Container and Dynamic diagrams, Container Boundary on Component diagrams)
  3. Drag the boundary onto the canvas
  4. Drop elements inside the boundary, or drag existing elements into it

Boundaries auto-expand as you add more elements, and you can resize one manually by dragging its bottom-right corner handle.

Step 5 — Bind Nodes and Boundaries to Repository Entities

Section titled “Step 5 — Bind Nodes and Boundaries to Repository Entities”

A freshly dropped shape is an unbound placeholder. Binding — Nodinite's entity resolution step in the Designer — connects the shape to a real entity so it shows live names, monitoring health, and navigation.

  1. Click the node's header to open Node Properties
  2. In Binding, click Resolve…
  3. The Resolve — "‹node›" dialog opens. New 7.12 Its tabs follow the shape: a System or Person offers Use existing System and Create new; a Container offers Use existing Service, Use existing Contract (when UseContracts is on), and Create new, never a System; a Component on a Component diagram offers only Use existing Endpoint (it needs read rights on Endpoints). The Service and Contract chips sit in Node Properties › Binding, before Resolve…
  4. Type in the filter to find the entity by name, select the matching System, Service, Contract, or Endpoint, and click Confirm

When UseContracts is enabled, you can replace an existing Service binding with a Contract binding directly from the same Resolve flow. Binding a node refreshes its navigation pills at once.

Open Boundary Properties by clicking the boundary header, then click Resolve… under Shape Binding. What you can pick follows the boundary's kind: an Enterprise Boundary or a generic Boundary binds a Domain, a System Boundary a System, a Container Boundary a Service or Contract, and a Deployment Node nothing. Once bound to a Domain, the boundary header shows the Domain name and stays in sync with it automatically.

New 7.12 The subject boundary of a Container or Component diagram (made by Next layer, the import, or a generator) is bound from the diagram itself and shows a lock: Bound from the diagram's Architectural Scope. Change it in Edit Properties. (Container) or Bound from the diagram's Subject. Change it in Edit Properties. (Component). It has no Unbind or Resolve….

Bound nodes can carry Custom Metadata — key/value attachments used to filter or highlight nodes on the canvas.

  1. Open Node Properties for a bound node
  2. Click the Custom Metadata button — it shows a count badge once metadata is assigned
  3. In the Custom Metadata Attachment modal, attach new values, view what is already attached, or remove existing assignments

Custom Metadata attached here also drives the Custom Metadata Filters bar in the Designer, which can dim or spotlight nodes based on their metadata values.

A newly created diagram starts as Draft. You can iterate — add more nodes, rebind entities, adjust boundaries — without the Draft version appearing as the canonical view.

A Context, Container, or Component diagram needs an Architectural Scope before Promote to Active. Until it has one, the Designer shows Architectural Scope required before promotion with the Architectural Scope picker, and the Promote to Active button is disabled. Pick the scope there first. New 7.12 A System Landscape has no scope, and a Dynamic or Deployment diagram promotes without one.

When the diagram accurately represents the architecture:

  1. In the Designer, click Promote to Active
  2. There is no confirmation: the diagram is promoted at once (Diagram promoted to Active.) and becomes read-only (Create a Draft to make changes)
  3. The diagram is now Active: the set holds one Active diagram per type, scope, subject, and mode. A Dynamic is the exception: several Dynamics can be Active for the same scope
  4. Promote replaces the diagram the Draft was cloned from and, except on a Dynamic, the Active diagram of the same type, scope, subject, and mode: that one is moved to Archived

Return to the Set detail page and repeat Steps 3–7 to build out the full picture:

  • Add the L0 System Landscape to show the broader enterprise context
  • Add the L1 Context to introduce the central system and its actors
  • Add a second L2 Container scoped to a different System (e.g., Portal) — it becomes a sibling alongside the first L2 for ERP
  • Add an L3 Component per Service you want to open up: the scope is the System, the subject the Service. One System can have many Component diagrams, one Active per Service
  • Add a Dynamic diagram to document a specific runtime workflow
  • Add a Deployment diagram to document the infrastructure topology

You don't link the diagrams: their elements get navigation pills inferred from the type, scope, subject, and bindings each time a diagram opens. For a full example set built this way, see Build the Order-to-Cash C4 set.

Before publishing your first Architecture Diagram, verify:

  • A Diagram Set exists with a descriptive business subject name
  • Diagram Set roles are correctly assigned (configured via DefaultRolesInViews or set manually after creation)
  • The diagram type matches the view you intend to communicate
  • Each L2 Container diagram has its own System as scope; each L3 Component diagram has a System scope and its own Service or Contract as subject
  • Every System, Container, and Container Instance node is bound — Diagram Assistance flags the rest with C4-COV-007 Unbound element. Components on a Component diagram bind an Endpoint or stay unbound steps, and infrastructure nodes are always unbound
  • Enterprise Boundaries and generic Boundaries that represent a business domain are bound to the matching Domain
  • Custom Metadata is attached where it helps filtering or highlighting
  • The diagram is promoted to Active when ready for stakeholders
  • Diagram Set roles are configured for the intended audience using standard role-based security
  • If UseContracts is enabled, any contract-bound nodes are reviewed in the designer

...

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