Import Your First C4 Diagram
Section titled “ Import Your First C4 Diagram”This getting started guide walks you through how to import a C4 diagram from existing markup — the fastest way to get a diagram into Nodinite if you already have one. Import supports Mermaid, PlantUML, Structurizr DSL, and Draw.io XML. If you already have a diagram in one of these formats, you can be up and running in about 10 minutes.
Understanding the Import Flow
Section titled “Understanding the Import Flow”An import turns existing markup into a Draft diagram inside a C4 Diagram Set. The import wizard resolves every element against your Repository Model, so the diagram shows live entity names instead of raw text.
Mermaid / PlantUML / Structurizr / Draw.io"] Wiz["fa:fa-wand-magic-sparkles Import wizard
Type, Scope, Name"] Res["fa:fa-magnifying-glass Resolve entities
System / Service / Contract / Endpoint / Domain"] Draft["fa:fa-pen Draft diagram"] Active["fa:fa-circle-check Active diagram"] Src --> Wiz Wiz --> Res Res --> Draft Draft --> Active style Src fill:#2678BD style Wiz fill:#2678BD style Res fill:#E47528 style Draft fill:#FFD525 style Active fill:#93d16d
Diagram: Source markup (blue) passes through the import wizard (blue) and entity resolution (orange) into a Draft diagram (yellow), which you promote to Active (green) when it is ready.
| Stage | What happens |
|---|---|
| Source markup | Mermaid, PlantUML, Structurizr DSL, or Draw.io XML that describes the diagram |
| Import wizard | You pick the diagram type, a name, the initial state, and the Architecture Scope: a System, required for L1, L2, and L3, optional for Dynamic and Deployment, none for L0 |
| Entity resolution | Each element is matched to an existing System, Service, Contract, Endpoint (L3 Components), or Domain, created new where allowed, or kept unbound. New 7.12 Never an Integration |
| Draft | The imported diagram, safe to iterate on before it becomes the canonical view |
| Active | The default view for its type, scope, and subject within the set (Diagram Lifecycle); L1, L2, and L3 need an Architecture Scope |
Before You Begin
Section titled “Before You Begin”Architecture Diagrams build on your existing Repository data. A small set of properties on Systems and Services control how nodes are recognized during import and how they render in diagrams.
C4 Properties on Systems
Section titled “C4 Properties on Systems”Open each System you want to include and verify its C4Type property:
C4Type value |
When to use |
|---|---|
Person |
A human user, customer, or staff role (e.g., "Mobile User", "Finance Analyst") |
InternalSystem |
An internal application or platform you own |
ExternalSystem |
A third-party system, SaaS, or partner system outside your boundary |
None |
No C4 shape set (default). The import still matches the System by its exact name, and shows ⚠ when its C4 Type doesn't fit the markup |
Where to set it: Repository → Systems → edit a System → C4 Properties card → C4 Type.
C4 Properties on Services
Section titled “C4 Properties on Services”Open each Service you want to include and set:
| Property | What to enter | Example |
|---|---|---|
C4ContainerType |
The architectural role of this service | API, Database, MessageBus, WebApp, Function (see all 13 values) |
C4Technology |
The technology stack or platform | "ASP.NET Core", "PostgreSQL", "Azure Service Bus" |
C4ContainerType drives the icon on the diagram node and the correct Mermaid element type (Container, ContainerDb, ContainerQueue). C4Technology appears as the technology subtitle in the node and in the generated Mermaid markup. New 7.12 A connector's technology also carries its Flow's Message Type, written <protocol> / <Message Type>, for example XML / O2C.Forwarding/1.0.
Step 1 — Get to a Diagram Set
Section titled “Step 1 — Get to a Diagram Set”In the Nodinite left navigation, open Repository → Diagram Sets (under the Architecture Diagrams heading). If you already have a Diagram Set for this subject, open it and skip to Step 2.
Otherwise, create one first:
- Click Add Diagram Set
- Enter a Name for the set — use a business subject name, not a diagram type (e.g., "Order-to-Cash", "Supplier Onboarding")
- Click Create
See Creating Your First C4 Diagram for the full set-creation walkthrough, including roles, Scope System, and Layered Mode versus Free Draw guidance.
Step 2 — Import Your First Diagram
Section titled “Step 2 — Import Your First Diagram”You stay on the Diagram Sets list after creating a set; click the set to open it. On the set page, click Import (see Import for every part of the wizard). The wizard runs in that set; its header shows the set's name and the step.

Animated walkthrough of Steps 2 and 3: the Order-to-Cash L1 Context example imported. The Scope step takes the System Portal, Portal and ERP match existing Systems, and Customer is created as a System on import.
-
Select the source tab that matches your input, then Paste the markup or Upload File:
- Mermaid Markup
- Structurizr DSL
- PlantUML
- Draw.io XML
A live Preview shows the markup as you paste it.
-
Check the Level — it is detected from the markup (
C4Contextgives Context, so choose System Landscape yourself when that is what you import). The levels are:- L0 System Landscape
- L1 Context
- L2 Container
- L3 Component
- Dynamic
- Deployment
-
New 7.12 For every type except L0 System Landscape, the wizard adds a Scope step (Set Diagram Architectural Scope). The scope is always a System:
- For L1 Context, L2 Container, and L3 Component it is required: Next stays disabled until you choose. For an L1 or L2, pick the System the diagram shows (e.g., "ERP": this is what makes it distinct from another L2 for "Portal")
- The System doesn't have to exist yet: Use the System this import creates creates it on import, and Set the scope later imports a Draft without a scope (see Set the Architectural Scope)
- For L3, pick the System the diagram lives in. The Service whose inside it shows is its subject, picked on the subject
Container_Boundaryrow in Review & Resolve (Step 3) - The wizard takes the scope itself when the markup's
System_Boundary(L2) or aContainer_Boundarynamed after a Service (L3, scope and subject) matches; the Scope step shows it - For Dynamic and Deployment the step is optional: Skip goes on without a scope
Search by name; Used in diagrams lists where each candidate already appears. Use picks the candidate and continues. An L1 import therefore has four steps.
Scope is not cosmetic. Together with the subject and each node's binding, it decides the navigation pills the diagrams get when they open; see Diagram Set Fundamentals. A Domain is never a scope.

Animated walkthrough: an L2 Container import. TheSystem_BoundaryPortal is the subject, so the Scope step already holds the System Portal; the four Containers match Portal's Services, and ERP matches its System. -
Confirm the Diagram Name (taken from the markup's
title), e.g., "ERP Internal Structure" -
Choose the initial Diagram State. In most cases, start with Draft — a draft diagram lets you iterate safely before it becomes the canonical view.
-
Click Next to validate the markup and match its nodes against the Repository
Step 3 — Review & Resolve
Section titled “Step 3 — Review & Resolve”The Review & Resolve step lists every element the wizard parsed from your source — systems, containers, people, boundaries, and other mapped shapes — one row each. Badges at the top count the rows that are matched, conflicts to resolve, will be created, and relationships; a New row counts as a conflict until you resolve it. Resolve All accepts every proposal, so new rows are created. New 7.12 The Relationships table has the columns Technology and Message Type, and its header counts the relationships with a Message Type and those kept as text.
Resolution Options
Section titled “Resolution Options”Each row shows Matched (with a check mark) when the wizard found the Repository entity, or New when it didn't:
- Resolve ▾ (on New rows) — opens the Resolve dialog, with the buttons Confirm, Confirm and close, and Cancel. New 7.12 Its tabs follow what the row may bind to:
- Use existing Service, Use existing Contract, Use existing System, Use existing Endpoint, or Use existing (Persons and Domain boundaries): bind this node to an entity already in your Repository
- Create new: create a Domain, Service, or System during import. Person and System elements become Systems (a
Personis a System with the C4 Type Person, aPerson_Extone with Person (Ext)), Containers become Services (on an L0 or L1 a Container shape is stored as a System), and generic and Enterprise boundaries become Domains. Components create nothing: they bind to an Endpoint or stay unbound. Resolve All never creates an Integration - Leave unbound (No subject on the L3 subject row)
- Unlink (on Matched rows) — include the node without a Repository binding (useful for external or out-of-scope elements)
Resolving Boundaries
Section titled “Resolving Boundaries”New 7.12 Each boundary binds by its kind:
- A generic
Boundary(...)orEnterprise_Boundary(...): an existing Domain, a new one, or label-only. Linking to a Domain lets the boundary appear in the Integration Landscape (Mapify) as a connected node - A
System_Boundary(...): a System. On an L2 it is the subject boundary, and its row shows Follows the scope: <System> - A
Container_Boundary(...): a Service or Contract. On an L3 its row is the Subject of the Component diagram: pick the Service or Contract, or No subject - A
Deployment_Node(...): nothing; it is an unbound label
Review every row, confirm or override the suggestions, then click Import. With rows still open, the wizard asks Import with unresolved entries? and imports those nodes unbound.
Step 4 — Review the Imported Diagram
Section titled “Step 4 — Review the Imported Diagram”After Import, the wizard closes on the set page with Import successful. The new Draft diagram is in the set's list; it does not open by itself. Click it to open the diagram viewer. You see:
- The rendered Mermaid C4 view of your diagram
- Node names pulled from the matched Repository entities (not the raw Mermaid text — the live entity name)
- A Set breadcrumb at the top linking back to the Diagram Set
Check Entity Names
Section titled “Check Entity Names”Because nodes are bound to Repository entities, their names in the diagram always reflect the current entity name. If a Service was recently renamed, the diagram shows the new name automatically — you do not need to re-import.
Check the Navigation Pills
Section titled “Check the Navigation Pills”New 7.12 When the diagram opens, each bound node gets the navigation pills the set offers for it, inferred from the diagram types, scopes, subjects, and bindings; nothing is stored. Click a node's badge to follow a pill, or to choose a diagram when there are several. View in a node's menu opens the bound item's own page. See Navigation Between C4 Diagrams.
For example: if you already imported an L1 Context diagram that contains the "ERP" System, and you now import an L2 Container diagram scoped to ERP, the L1's ERP node shows an Inside pill to your new L2.
Step 5 — Promote to Active
Section titled “Step 5 — Promote to Active”A newly imported diagram starts as Draft. You can iterate — re-import with corrected markup, adjust, or add notes — without the Draft version appearing as the canonical view.

Animated walkthrough of Steps 4 and 5: the entity name and its badge checked, and the L1 Context promoted to Active in the Designer; the L2 and L3 imported after it are still Drafts.
A diagram needs at least one element before it can be promoted, and an L1, L2, or L3 also needs an Architecture Scope; the Promote to Active button's tooltip says which is missing. An L1 imported with this wizard got its scope in the Scope step, unless you chose Set the scope later there: then set it in Edit Properties first. An older L1, L2, or L3 without one shows Architectural Scope required before promotion with Set Architectural Scope. Dynamic and Deployment diagrams promote without a scope.
When the diagram accurately represents the architecture:
- Open the diagram, and click Designer
- Click Promote to Active. There is no confirmation: the diagram is promoted at once (Diagram promoted to Active.) and becomes read-only (Create a Draft to make changes)
- The diagram is now Active and the default view for this type, scope, and subject within the set
- The Draft replaces the diagram it was cloned from, and any previous Active diagram for this type, scope, subject, and mode moves to Archived. Several Dynamic diagrams may be Active
Promotion is only in the Designer; Edit Properties can't promote a Draft.
Step 6 — Import More Diagrams into the Set
Section titled “Step 6 — Import More Diagrams into the Set”Return to the Set detail page. Import additional diagram types for the same subject to build out the full picture:
- Import the L0 System Landscape to show the broader enterprise context
- Import the L1 Context to introduce the central system and its actors
- Import a second L2 Container scoped to a different System (e.g., Portal) — it becomes a sibling alongside the first L2 for ERP
- Import a Dynamic diagram to document a specific runtime workflow
- Import a Deployment diagram to document the infrastructure topology
New 7.12 Navigation between the set's diagrams is inferred from their scope, subject, and bindings each time a diagram opens; nothing is stored and there is nothing to sync. To complete a set from the Repository instead of more markup, use Generate from Integration Landscape: it keeps the Active diagrams you imported.
Checklist
Section titled “Checklist”Before publishing your first imported Architecture Diagram, verify:
- A Diagram Set exists with a descriptive business subject name
- All Systems included have a
C4Typeset (notNone) - All Services included have a
C4ContainerTypeset - All Services included have a
C4Technologyvalue - For Draw.io imports, the Diagram Name, Level, and Diagram State were reviewed manually
- Each L1 Context and 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
- Dynamic and Deployment diagrams have a scope only where one helps (they promote without one)
- Entity resolution is complete — no unresolved items remain as placeholders unless intentional
- The Mermaid preview renders correctly in the viewer
- The diagram is promoted to Active when ready for stakeholders
- If UseContracts is enabled, any contract-bound nodes are reviewed in the designer
Next Steps
Section titled “ Next Steps”- Example C4 Diagrams
- Import – Full Technical Reference
- Creating Your First C4 Diagram
- Navigation Between C4 Diagrams
- C4 Designer – Interactive Canvas