Skip to content
Documentation
Updated 16 minutes to read
Markdown

The toolbox panel in the C4 Designer is the palette of C4 shapes you use to build or edit C4 Diagrams. Its contents are context-sensitive: the C4 toolbox shows only the shapes that are valid for the active diagram type, so the visible toolbox is always a subset of the full C4 shape vocabulary. Use this page as the lookup reference; for the hands-on workflow, see Building a Diagram.

The toolbox on a Context, Component, Dynamic, and Container diagram, then the Service filter chip and All, animated walkthrough (7.12)
Animated walkthrough: the toolbox on an L1 Context diagram (Persons, Systems, Boundaries, Connectors), an L3 Component diagram (Components, Neighbouring Containers, External Actors, the folded Advanced section, Boundaries, Connectors), a Dynamic diagram (Participants, the System, Enterprise and generic Boundaries, numbered-step connectors), and an L2 Container diagram. The Service filter chip leaves only the shapes that bind to a Service, and All brings everything back. It ends on the Container toolbox.

New 7.12 The shapes, boundary kinds, and filter chips each diagram type offers come from the C4 model rules, the same rules the Web API, the import, MCP, and the Designer check on every save. The rules also decide what each shape can be bound to; C4 Model vs Nodinite Concept Mapping has the full scope, subject, and binding tables.

One shape vocabulary covers every way a shape reaches a diagram in Nodinite. A diagram you Import from Mermaid, PlantUML, Structurizr DSL, or Draw.io XML produces the same shape families as one you assemble by hand, and diagrams built in the designer export clean, standards-compliant Mermaid that any C4-aware tool can read.

flowchart LR Toolbox["fa:fa-toolbox Toolbox
filtered by diagram type"] --> Canvas["fa:fa-diagram-project Canvas"] Import["fa:fa-file-import Import
Mermaid, PlantUML, Structurizr DSL, Draw.io XML"] --> Canvas Repo["fa:fa-database Repository entity
and its Component Type"] -.->|"binding and icon"| Canvas Canvas --> Mermaid["fa:fa-code Mermaid source and export"]

The toolbox and the import wizard feed the same canvas; Repository bindings supply the node's entity and icon, and every diagram renders as Mermaid C4 markup.

Surface What you do
Toolbox Drag and drop shapes onto the canvas in the designer
Canvas The placed shape renders on the live diagram
Import The import wizard produces the same shapes from external markup

C4 Designer with the Deployment toolbox and its All, Service and Contract filter chips, next to the Draft O2C Platform - Production Deployment diagram with Azure West Europe and the On-Premises Data Centre (7.12)
Example of the toolbox on a Deployment diagram: only Infrastructure Nodes, Containers, Boundaries, and Connectors appear, because those are the shapes valid for that diagram type.

Toolbox Filter, Resolver, and Binding Defaults

Section titled “ Toolbox Filter, Resolver, and Binding Defaults”

The toolbox has up to five filter chips: All, System, Service, Contract, and New 7.12 Endpoint (Endpoints). A chip only shows when the diagram type has shapes that bind to it: a Context diagram shows All and System, Endpoint shows on a Component diagram (for its Components), and Contract shows only when UseContracts is enabled and you have read rights on Contracts. New 7.12 There is no Integration chip and no Domain chip: no shape binds an Integration or a Domain, and the infrastructure items of a Deployment diagram are unbound labels.

The filter chips do not limit the diagram to a single binding target. They only change which repository-centric shape families the toolbox emphasizes. A separate node resolver decides what a selected node can bind to and what its default binding kind is (see Repository Bindings). This holds for every diagram type below, so switching the filter never changes the meaning of a node that is already on the canvas.

Filter chip What it emphasizes in the toolbox What it does not mean
All All toolbox sections allowed for the diagram type It does not force every node to bind to every entity kind
System System-facing shapes, plus the advanced System items valid in the diagram It does not mean every selected node binds as a System
Service Service-facing container and deployment items It does not mean the current node is a Service node
Contract Contract-capable items, where contract support is enabled It does not mean the diagram type is contract-only
Endpoint The Component shapes of a Component diagram, which bind to an Endpoint It does not mean every Component must be bound

The designer default may prefer Service or Contract depending on the node kind and current binding, but the filter chip only changes what the toolbox shows.

Every shape on the canvas displays one of two icons:

  • Toolbox default icon: the built-in icon for the shape type, shown in the toolbox and used as the fallback when no Component Type is available.
  • Component Type icon: the icon from the Component Type assigned to the bound Repository entity.

When the bound entity has a Component Type, its icon replaces the toolbox default on the canvas. Assign the icon once to a System, Service, Contract, Domain (boundaries), or Endpoint (Components on a Component diagram), and it appears automatically in every C4 diagram that references that entity, in both view mode and the designer. New 7.12 An Integration is never bound, so its Component Type doesn't show on C4 nodes; the Integration keeps a C4 Properties card with the Component Type only, for Mapify and its own pages.

Every actor and node shape exists in an internal and an external variant. Nodinite marks the difference with an icon overlay on every diagram type, so colour is never the only signal.

Variant Icon treatment Canvas colour Mermaid macro pattern
Internal Base icon alone Blue No suffix: Person, Container, Component
External Base icon + overlay at the top-right corner Grey _Ext suffix: Person_Ext, Container_Ext, Component_Ext
Tier Internal icon External icon
Person +
Software System +
Container (generic) +
Database (any tier) +
Queue / Stream (any tier) +
Component +

The tables below list the internal icon; the external variant adds the overlay.

Shape L0 / L1 L2 L3 Dynamic Deployment
Person (internal) ✅ Yes ✅ Yes ✅ Yes ✅ Yes ❌ No
Person (external) ✅ Yes ✅ Yes ✅ Yes ✅ Yes ❌ No
Software System ✅ Yes ✅ Yes ✅ Advanced ✅ Yes ❌ No
Software System (external) ✅ Yes ✅ Yes ✅ Yes ✅ Yes ❌ No
Database System ✅ Yes ✅ Yes ✅ Advanced ✅ Yes ❌ No
Database System (external) ✅ Yes ✅ Yes ✅ Advanced ✅ Yes ❌ No
Queue System ✅ Yes ✅ Yes ✅ Advanced ✅ Yes ❌ No
Queue System (external) ✅ Yes ✅ Yes ✅ Advanced ✅ Yes ❌ No
Container (generic or sub-typed) ❌ No ✅ Yes ❌ No ✅ Yes ❌ No
Container (external) ❌ No ✅ Yes ❌ No ✅ Yes ❌ No
Container Instance (+ external) ❌ No ❌ No ❌ No ❌ No ✅ Yes
Container Database (+ external) ❌ No ✅ Yes ❌ No ✅ Yes ❌ No
Container Queue / Stream (+ external) ❌ No ✅ Yes ❌ No ✅ Yes ❌ No
Neighbouring Container (Container family) ❌ No ❌ No ✅ Yes ❌ No ❌ No
Component (+ external) ❌ No ❌ No ✅ Yes ⚠️ Import only ❌ No
Component Database (+ external) ❌ No ❌ No ✅ Yes ⚠️ Import only ❌ No
Component Queue (+ external) ❌ No ❌ No ✅ Yes ⚠️ Import only ❌ No
Infrastructure Node ❌ No ❌ No ❌ No ❌ No ✅ Yes
Container Boundary ❌ No ❌ No ✅ Yes ⚠️ Import only ❌ No
System Boundary ❌ No ✅ Yes ❌ No ✅ Yes ❌ No
Enterprise Boundary ✅ Yes ❌ No ❌ No ✅ Yes ❌ No
Generic Boundary ✅ Yes ✅ Yes ✅ Yes ✅ Yes ❌ No
Deployment Node ❌ No ❌ No ❌ No ❌ No ✅ Yes
Relationship: solid and async (dashed) ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
Bidirectional ↔ ✅ Yes ✅ Yes ✅ Yes ❌ No ❌ No
Numbered Step, Numbered Step (Async), Return / Callback ❌ No ❌ No ❌ No ✅ Yes ❌ No

"Advanced" means the shape sits in the collapsed Advanced section of the L3 toolbox. On L2 the System shapes sit in the External Systems section, internal ones included; on Dynamic they sit in Participants. "Import only" means the toolbox doesn't offer the shape, but an imported diagram may hold it: Components on a Dynamic stay unbound. A shape or boundary kind that a diagram type doesn't hold at all is imported as it is, but the Designer can't add one, and a save that changes it answers with the rule's message.

Diagram Toolbox sections (in order)
L0 System Landscape Persons · Systems · Boundaries (Boundary, Enterprise Boundary) · Connectors
L1 Context Persons · Systems · Boundaries (Boundary, Enterprise Boundary) · Connectors
L2 Container Persons · Containers (Container only) · Databases · Queues & Streams · External Systems · External Containers · Boundaries (Boundary, System Boundary) · Connectors
L3 Component Components · Neighbouring Containers · External Actors · Advanced ▶ (System shapes, collapsed) · Boundaries (Boundary, Container Boundary) · Connectors
Dynamic Participants · Boundaries (Boundary, System Boundary, Enterprise Boundary) · Connectors
Deployment Infrastructure Nodes · Containers (Container Instance, Container Instance (External)) · Boundaries (Deployment Node) · Connectors (no Persons or System-level section)

L0 System Landscape and L1 System Context

Section titled “ L0 System Landscape and L1 System Context”

L0 and L1 use the same Mermaid C4Context declaration and the same toolbox sections, with the Boundary and Enterprise Boundary: both can be bound to a Domain or stay unbound. The difference is conceptual: L0 spans your full enterprise landscape and has no scope; L1 focuses on a single system in its context, and that System is its Architectural Scope. On an L1, draw the other Systems as external Systems (System_Ext). All shapes bind to Systems only (a Person to a System with C4 Type Person); the System filter maps most directly to the binding model here.

Shape Icon Mermaid macro C4Type on the bound System Notes
Person Person Person Internal user, analyst, or role
Person (external) + overlay Person_Ext PersonExt External customer, trading partner, or user
Software System System InternalSystem A System you own and operate
Software System (external) + overlay System_Ext ExternalSystem Third-party, SaaS, or partner System
Database System SystemDb SystemDb Internal System rendered as a database cylinder
Database System (external) + overlay SystemDb_Ext SystemDbExt External database System
Queue System SystemQueue SystemQueue Internal message bus or queue System at context level
Queue System (external) + overlay SystemQueue_Ext SystemQueueExt External queue, event bus, or stream System

Container diagrams zoom inside one System, the diagram's Architectural Scope, to show the applications, services, databases, and message buses that implement it. Container nodes bind to a Service or a Contract, New 7.12 never a System: draw a platform, portal, or tool you keep as a System with a System shape from the External Systems section. That section offers all six System shapes from L0/L1, internal ones included (System, System_Ext, SystemDb, SystemDb_Ext, SystemQueue, SystemQueue_Ext). Its boundaries are the generic Boundary (a Domain or an unbound grouping) and the System Boundary. The subject System Boundary, made by Next layer, the import, or a generator, takes its binding from the scope and is read-only.

The C4ContainerType values below come from the Service's C4 properties; Repository Properties for C4 Diagramming is the full reference, including numeric values.

Shape Icon Mermaid macro C4ContainerType Example
Container (generic) Container None Catch-all when no specific sub-type applies
Web Application Container WebApp Customer portal, admin UI
Single-Page App Container SinglePageApp Single-page application or progressive web app
Mobile App Container MobileApp iOS app, Android app
REST API / Service Container API Customer API, Order Service, gRPC endpoint
Microservice Container Microservice Shipping service, auth service
Serverless / Function Container Function Azure Function, AWS Lambda, nightly batch
File Store Container FileStore Azure Blob, SFTP folder, NFS mount
Container (external) + overlay Container_Ext — A Service of another System, drawn outside the subject boundary
Shape Icon Mermaid macro C4ContainerType Notes
Database / Datastore ContainerDb Database SQL Server, PostgreSQL, MongoDB, Cosmos DB
Cache / Key-Value Store ContainerDb Cache Redis, Memcached
Database (external) + overlay ContainerDb_Ext — External database accessed by the system
Message Bus / Queue ContainerQueue MessageBus Azure Service Bus, RabbitMQ, SQS
Queue ContainerQueue Queue Standalone point-to-point queue, decoupled from a bus
Event Stream ContainerQueue EventStream Kafka topic, Azure Event Hub
Queue / Stream (external) + overlay ContainerQueue_Ext — External queue or stream outside the boundary

Component diagrams zoom into one Service or Contract, the diagram's Subject, and show its internal building blocks. The Architectural Scope is the System where the diagram lives. The subject Container Boundary is bound to the subject and is read-only. New 7.12 A Component binds only to an Endpoint of the subject (Resolve… offers Use existing Endpoint, and needs read rights on Endpoints) or stays unbound, as a pipeline stage, map, filter, or function does. An Endpoint Component shows the Endpoint's Component Type icon, has View in the node inspector, no state, and an Endpoint kind badge. A Component never binds an Integration.

Shape Icon Mermaid macro C4ComponentType Notes
Component Component None Generic logical building block
Component (external) + overlay Component_Ext — (optional binding) External module or third-party library
Component Database ComponentDb Repository Data access component
Component Database (external) + overlay ComponentDb_Ext — (optional binding) External data store accessed by this component
Component Queue ComponentQueue Queue Async message consumer or producer
Component Queue (external) + overlay ComponentQueue_Ext — (optional binding) External queue or stream

New 7.12 The Neighbouring Containers section offers the Container family for the related Services and Contracts, placed outside the subject boundary. A neighbour that belongs to another System gets an Owner pill to that System's Container diagram (Navigation Between C4 Diagrams). The External Actors section offers the Person and Software System (external) shapes from L0/L1. The collapsed Advanced section exposes the System-level shapes still valid at L3: System, SystemDb, SystemDb_Ext, SystemQueue, and SystemQueue_Ext. The Boundaries section offers the generic Boundary and the Container Boundary, which wraps the subject.

Dynamic diagrams show the runtime interaction sequence for a specific business workflow. Participants are Person, System, or Container instances, and connectors carry step numbers that define the execution order. Components come only from imports and stay unbound. New 7.12 The Dynamic toolbox has a Boundaries section with the Boundary, System Boundary, and Enterprise Boundary (a Container Boundary only from an import); the generators draw one System Boundary per owning System. A Dynamic has no scope or one System, and several Dynamics can be Active for the same scope. The filter changes which participant families appear; the step and return connectors give the diagram its shape.

Shape Icon Mermaid macro Notes
Person Person Internal role in the sequence
Person (external) + overlay Person_Ext External actor in the sequence
Container (any sub-type) Container Participating Service; the technology subtitle is optional
Container Database ContainerDb Database participant
Container Queue ContainerQueue Message queue participant
Software System System Internal System in the interaction flow
Software System (external) + overlay System_Ext External System in the interaction flow
Database System (+ external) SystemDb, SystemDb_Ext Database System in the flow
Queue System (+ external) SystemQueue, SystemQueue_Ext Queue or event bus System in the flow

Deployment diagrams show where container instances are physically hosted. A Container Instance binds to a Service or Contract; Infrastructure Nodes and Deployment Nodes are unbound labels. A Deployment diagram holds no System or Person shapes.

Shape Icon Mermaid macro Notes
Infrastructure Node InfrastructureNode Generic deployment participant; an unbound label
Container Instance Container inside a Deployment_Node Specific running replica; binds to a Service or Contract
Container Instance (external) + overlay Container_Ext inside a Deployment_Node External or managed instance outside the local deployment boundary
Deployment Node Deployment_Node Deployment boundary / infrastructure envelope (see Boundaries); an unbound label

New 7.12 Mermaid and PlantUML have no Container Instance macro. The export writes a Container Instance as Container inside its Deployment_Node, and the import stores a Container on a Deployment diagram as a Container Instance, so write Deployment samples with Container.

Boundary shapes group nodes inside a dashed labelled box. What a boundary can be bound to follows its kind: an Enterprise Boundary or a generic Boundary to a Domain, a System Boundary to a System, a Container Boundary to a Service or Contract, and a Deployment Node to nothing. A label-only boundary with no Repository anchor is also valid. For adding, binding, collapsing, and nesting boundaries, see Organising with Boundaries.

Boundary shape Icon Mermaid macro Available in Binds to Notes
Container Boundary Container_Boundary L3, Dynamic (import only) Service or Contract The subject wrapper at L3, bound from the diagram's Subject
System Boundary System_Boundary L2, Dynamic System The subject wrapper at L2, bound from the scope; one per owning System on a generated Dynamic
Enterprise Boundary Enterprise_Boundary L0/L1, Dynamic Domain, or unbound Outermost organisational wrapper
Generic Boundary Boundary L0/L1, L2, L3, Dynamic Domain, or unbound Custom grouping with a free-text type hint, such as a Layer or a BizTalk receive port; the toolbox tile is named Boundary
Deployment Node Deployment_Node Deployment Nothing Infrastructure zone; supports unlimited nesting

The toolbox exposes a diagram-specific connector palette. Direction is a property of a placed connector, not a separate shape; set it per flow in Connector Properties after you draw the connector. For drawing, display names, protocols, flows, and the connection rules per diagram type, see Drawing Connectors.

Shape Icon Mermaid output Available in
Synchronous Rel(...) L0, L1, L2, L3, Deployment
Asynchronous (dashed badge) Rel(...) + UpdateRelStyle($lineStyle=dashed) L0, L1, L2, L3, Deployment
Bidirectional BiRel(...) L0, L1, L2, L3
Numbered Step Rel(...) with step prefix Dynamic only
Numbered Step (Async) (dashed badge) Rel(...) + dashed style with step prefix Dynamic only
Return / Callback Rel_Back(...) Dynamic only

New 7.12 Every static diagram type (L0, L1, L2, L3, Deployment) folds the Flows of a node pair into one connector; a Dynamic keeps one arrow per step. The Mermaid and PlantUML exports write each pair as one Rel (one way) or BiRel (both ways), with the labels and technology items joined by a semicolon and a space, and on a BiRel each technology item marked →, ←, or ↔. A Flow's technology carries its Message Type as protocol / Message Type. The import splits them back into Flows.

Direction Mermaid macro When to use
Auto (default) Rel The layout engine decides; start here for any new connector
Down Rel_D Top-to-bottom hierarchical flow; parent → child calls
Up Rel_U Bottom-to-top callbacks or events bubbling up
Left Rel_L Return path in a left-to-right layout
Right Rel_R Sequential pipeline steps in a left-to-right layout
Back Rel_Back Response or ack; the arrow is reversed visually while FROM/TO stay in their original order
Neighbor Rel_Neighbor Places the target adjacent to the source; minimises edge length for tightly coupled pairs

The Mermaid macro in each table above is the exact notation the Import wizard reads. The diagram type declaration on the first line (C4Context, C4Container, C4Component, C4Deployment, C4Dynamic) tells the parser which shape tier to expect, and each macro (ContainerDb_Ext, Component_Ext, Rel_Back, …) maps to the shape with that macro on this page. C4Context serves both L0 and L1, so review the Level in the wizard. The wizard then matches node names to Repository entities by exact name: Container → a Service (or a Contract by name or alias), never a System; System and Person → a System; on L3, Component → the one Endpoint of exactly that name, else an unbound placeholder; never an Integration. It lets you review conflicts before anything is saved; see Import for the full workflow and the supported syntax per source format.

Macros that aren't in this reference, such as newer Mermaid C4 additions or PlantUML-only variants, are skipped, and the import result header shows the count of skipped directives.

...

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