C4 Diagrams Troubleshooting
Section titled “ C4 Diagrams Troubleshooting”This page covers common questions and issues encountered when working with C4 Diagrams (Architecture Diagrams) in Nodinite. For detailed reference material, see the linked sub-pages.
Reference Pages
Section titled “Reference Pages”- C4 Model vs Nodinite Concept Mapping — Side-by-side table of C4 model terminology and how it maps to Nodinite Repository entities and properties
- Repository Properties for C4 Diagramming — Complete reference for all C4-related properties on Systems, Services, Contracts, Domains, and Endpoints, what they do, and how to set them. New 7.12 Integrations only have their Component Type: they are not C4 elements

Animated walkthrough: a Container(...) row matches a Service or a Contract, never a System; its Resolve dialog has no Use existing System. Drawn as System_Ext(...), the same name binds to the System.
Frequently Asked Questions
Section titled “Frequently Asked Questions”403 Forbidden: C4 needs more Repository rights
Section titled “403 Forbidden: C4 needs more Repository rights”New 7.12 A C4 diagram shows Repository items, so opening one needs more than the C4 Diagram Set rights. When a right is missing, opening, viewing, or exporting a diagram (and the grouped Log View's runtime diagram) answers 403 Forbidden with C4 needs more Repository rights and the list of the missing rights. The Diagram Sets list and the sidebar still load.

A user with read access to Systems only opens a diagram: the page lists each missing right.
| To | You also need |
|---|---|
| Open, view, or export a diagram | Read (Access) on Systems, Services, Integrations, Message Types, Endpoints, and Domains, plus Contracts when Contracts are on |
| Design: save in the Designer, delete diagrams, Next layer, Generate from Integration Landscape, C4 Dynamic on the BPM page, clone, promote | Create and Modify on Systems, Services, Integrations, and Domains, plus Contracts when Contracts are on |
| Import | Create on Systems, Services, and Domains. The Import button is refused before the wizard opens, with the same message listing the missing read and create rights |
Fix: Give the user's Roles the rights the message lists. See Permission Set for C4 Diagram Sets.
The import wizard didn't automatically match my System — why?
Section titled “The import wizard didn't automatically match my System — why?”The Import wizard matches each node by its exact name, ignoring case (there is no similarity match). New 7.12 Which Repository items it tries depends on the node's shape and the diagram type:
| Shape in the markup | Matched against |
|---|---|
Container(...), ContainerDb(...), ContainerQueue(...) and their _Ext variants |
A Service by name, a contract_{id} alias, or a Contract by name; never a System. On an L0 or L1 a Container shape is stored as a System and matches a System |
System(...), System_Ext(...), SystemDb(...) and the other System shapes |
A System only |
Person(...), Person_Ext(...) |
Systems |
Component(...) and its variants, including _Ext |
On an L3: the one Endpoint of exactly that name (needs read on Endpoints), otherwise unbound. On a Dynamic: always unbound. Never an Integration |
A ContainerDb(...) prefers a same-name Service whose C4 Container Type is Database, and a ContainerQueue(...) one with Message Bus or Event Stream. A System's C4 Type doesn't exclude it: the Review & Resolve row shows the System's C4 Type, with ⚠ when it doesn't fit the markup.
If a match is not found automatically, it is likely because:
- The display name in the Mermaid markup differs from the entity name in the Repository (e.g., "ERP" in the diagram vs "SAP S/4HANA" in the Repository)
- The entity does not yet exist in the Repository
Fix: In the Review & Resolve table, click the row's button to open the Resolve dialog and search for the correct entity. The Create new tab is offered only where the row may create something: a Domain, a Service, or a System, never an Integration, Endpoint, or Contract.
A Container node matched as a Service but it should be a System
Section titled “A Container node matched as a Service but it should be a System”New 7.12 A Container is a Service or a Contract, never a System. If the markup draws a System, such as the Portal, as Container(portal, "Portal", ...), a row whose name matches only a System imports as an unbound placeholder with the note 'Portal' is a System in the Repository. A Container is a Service or a Contract, never a System: draw it as a System shape (System or System_Ext) to bind it to the System.
Fix: Draw it as a System shape: System(...) or, beside an L2's boundary, System_Ext(...), and import again. A System shape matches the System.
I enabled UseContracts, but import still shows System/Service-only matching
Section titled “I enabled UseContracts, but import still shows System/Service-only matching”The import matches Contracts too. A node whose alias is contract_{id}, or whose name is a Contract's name, is matched against that Contract. With UseContracts on, the Resolve dialog of a Container row also has a Use existing Contract tab.
After import, you can also use the designer resolver (Repository Bindings) to replace a Service binding with a Contract.
Why does Systems mode now place some traffic under a different System when UseContracts=true?
Section titled “Why does Systems mode now place some traffic under a different System when UseContracts=true?”When grouped runtime inspection resolves a single Contract, Systems mode uses that contract owner for boundary placement. This reduces incorrect placement in Unknown System for deterministic contract-owned traffic.
My node doesn't show a navigation pill when I expected one
Section titled “My node doesn't show a navigation pill when I expected one”New 7.12 Pills are inferred when the diagram opens (inferred navigation), from the diagram type, its scope and subject, and the node's binding, inside the same Diagram Set (see Navigation Between C4 Diagrams). Nothing is stored, so there is nothing to sync. If a pill is missing:
- Check that both diagrams belong to the same set: inferred pills stay inside the set. Only manual links may point into another set
- Check that the node is bound to a Repository entity: unbound placeholders and Domain-bound elements get no diagram pill
- Check the target's state: viewers see Active targets only; editors with Modify on the set also see Drafts, marked Draft
- Navigation goes one level at a time: a System's Inside pill opens its L2, and a Service's or Contract's Inside pill opens the L3 whose subject it is, never straight from a System to an L3
An editor whose node has no match sees No Container diagram in this set yet. (or No Component diagram in this set yet.) with Create Container Diagram or Create Component Diagram.
Fix: Bind the node to the same Repository entity as the target diagram's scope or subject, or create the missing diagram.
I changed Architecture Scope and my navigation pills changed
Section titled “I changed Architecture Scope and my navigation pills changed”This is expected. The pills are inferred again every time a diagram opens, from its type, scope, subject, and bindings, so nothing stored is removed. Manual links are stored and stay; one may turn Stale (Scope or entity relationship has changed since link was created). Links stored before 7.12 show as Manual. The Architecture Diagrams overview explains scope and modes.
Free Draw did not update other diagrams after I edited nodes and boundaries
Section titled “Free Draw did not update other diagrams after I edited nodes and boundaries”This is expected behavior.
Free Draw keeps edits local to the current diagram. It does not propagate changes to related Draft diagrams, regardless of scope.
If you want node and boundary changes to propagate to the related Layered Drafts, use Layered Mode.
How do I have two L2 Container diagrams in the same Diagram Set?
Section titled “How do I have two L2 Container diagrams in the same Diagram Set?”This is fully supported and is one of the key advantages of Diagram Sets. Each L2 Container diagram has its own scope: the System it zooms into.
- In the Diagram Set, click Import, paste the L2 markup, and choose Container as the diagram type
- In the Scope step (Set Diagram Architectural Scope), pick the System this L2 diagram is for (e.g., "ERP"). The wizard takes it itself when the markup's
System_Boundaryis named after the System - Finish the import
- Repeat for the second L2 with a different System (e.g., "Portal")
Both L2 diagrams coexist in the set; only one Active L2 per System is allowed. The L1 or L0 nodes for ERP and Portal (if bound to those Systems) each show an Inside pill to their L2.
The Mermaid output shows Container(...) for all nodes — no ContainerDb or ContainerQueue
Section titled “The Mermaid output shows Container(...) for all nodes — no ContainerDb or ContainerQueue”The Mermaid type (Container, ContainerDb, ContainerQueue) is the node's own shape, and on import it comes from the macro in the markup: write ContainerDb(...) or ContainerQueue(...) in the source. Generate from Integration Landscape draws every Service as a plain Container.
The Service's C4 Container Type seeds the shape of a node the Designer's resolver creates from the Repository:
- Database, File Store, Cache →
ContainerDb(...) - Message Bus, Event Stream, Queue →
ContainerQueue(...) - All others →
Container(...)

Animated walkthrough: the imported ContainerDb(...) matches the same-name Service of type Database, and the Mermaid view draws a database container with its technology.
Fix: Edit the markup to use ContainerDb(...) or ContainerQueue(...) and import it again, or replace the node in the Designer. Re-importing the same markup after updating the Service doesn't change the macro. See Repository Properties for C4 Diagramming.
The C4 Diagrams menu item is not visible in the Repository navigation
Section titled “The C4 Diagrams menu item is not visible in the Repository navigation”In the Repository menu the group is called Architecture Diagrams (with Diagram Sets, All Diagrams and Component Types). It needs the Mapify feature in the license and the read right on C4 Diagram Sets. If the group is absent, check the license and product key with your Nodinite administrator, and the user's Roles for the C4 Diagram Sets permission.
See License Options and Feature Matrix for guidance.
The Mermaid View renders but all connectors are missing
Section titled “The Mermaid View renders but all connectors are missing”Connectors are imported automatically from Rel(...) or BiRel(...) entries in the Mermaid source. If no connectors appear:
- The source Mermaid markup contained no
Rel(...)orBiRel(...)entries - Connectors that reference a boundary alias (rather than a concrete node alias) are skipped during import — the toast Import note: N relationship(s) could not be linked and were skipped gives the count
Fix: Re-import the Mermaid source with correct Rel(...) entries referencing node aliases (not boundary aliases). A node keeps the alias from the markup (for example portal or carrier_hub); only a node without one is written as node_{id}.
My connector's Message Type wasn't imported
Section titled “My connector's Message Type wasn't imported”New 7.12 A Flow's Message Type travels in the technology text as <protocol> / <Message Type>, for example "XML / O2C.Forwarding/1.0". The import resolves the text after / by exact name, and needs read on Message Types. Without a match, the whole text stays the protocol and the Flow has no Message Type. The Relationships table of Review & Resolve shows the result in its Message Type column.
Fix: Write the Message Type's exact name after /, or bind the Flow in the Designer with Link a Message Type….
A Person actor appears grey instead of blue
Section titled “A Person actor appears grey instead of blue”On the canvas a Person and a Person (External) have the same dark-blue colour; the external one adds the external-link mark (↗). Grey is how the Mermaid View and the exports draw Person_Ext(...) (Mermaid's C4 styling), so a grey actor there is an external person.
Fix: If the actor should be an internal person, re-import with Person(...) in the markup, or replace the node in the Designer. Changing the System's C4 Type doesn't change an existing node. New 7.12 On import, Create new on a Person_Ext(...) row creates a System with the C4 Type Person (Ext), on a Person(...) row one with Person.
How do I create a bidirectional relationship arrow?
Section titled “How do I create a bidirectional relationship arrow?”Include BiRel(from, to, "Label", "Tech") in your Mermaid source when importing. New 7.12 The Mermaid and PlantUML exports fold the Flows of a node pair into one Rel (one way) or BiRel (both ways): labels and technology items are joined by ; and a space, and on a BiRel each technology item is marked →, ←, or ↔ (- for none). The import splits them back into Flows. A relation from another tool (one item, no marker) is one Flow.
What happens to boundary types when I import a diagram?
Section titled “What happens to boundary types when I import a diagram?”The boundary type (Container_Boundary, System_Boundary, Enterprise_Boundary, Boundary, Deployment_Node) is auto-detected from the Mermaid macro in your source and stored per boundary element. No manual configuration is required. New 7.12 What a boundary binds to follows its kind: a generic Boundary or Enterprise_Boundary to a Domain or nothing; a System_Boundary to a System; a Container_Boundary to a Service or Contract; a Deployment_Node to nothing. If the wrong type appears in the Mermaid output, re-import the diagram with the correct Mermaid macro in the source.
Can I nest one boundary inside another?
Section titled “Can I nest one boundary inside another?”Yes. When your Mermaid source has a Boundary { } block nested inside another Boundary { } block, the import wizard stores the parent–child relationship. The Mermaid generator re-emits the correct nested boundary structure. Nesting is per-diagram and does not affect Domains in BPM or other diagrams.
New 7.12 A generic Boundary, an Enterprise_Boundary, or a kindless draw.io group nested inside an L3's subject Container_Boundary is an unbound grouping: it matches no Domain and none is created, not even by Resolve All. On an L2, a grouping inside the subject System_Boundary still matches a Domain by name.
Can I place a System (Person or External System) inside a boundary instead of at the top level?
Section titled “Can I place a System (Person or External System) inside a boundary instead of at the top level?”Yes. When your Mermaid source has a System(...) or Person(...) element declared inside a Boundary { } block, the import wizard stores it as a member of that boundary. The Mermaid generator re-emits it inside the boundary block.
Does changing C4ContainerType on a Service affect my BPM diagrams?
Section titled “Does changing C4ContainerType on a Service affect my BPM diagrams?”No. C4ContainerType and C4Technology are used only by C4 Diagrams. BPM, Log Views, Monitor Views, and the Integration Landscape are not affected by these properties.
Can I have the same architectural subject in multiple layout variants (As-Is vs To-Be)?
Section titled “Can I have the same architectural subject in multiple layout variants (As-Is vs To-Be)?”Yes. Create two separate diagrams within the same Diagram Set, one named "As-Is" and one named "To-Be" (or "Current" and "Target"). Only one diagram per set, type, scope, subject, and mode can be Active (several Dynamics may be), so promote the canonical view and keep the working version as Draft until it is ready.
Why do _Ext rows show as "Unbound" in the import wizard?
Section titled “Why do _Ext rows show as "Unbound" in the import wizard?”New 7.12 The _Ext variants are matched like their internal shape: Container_Ext, ContainerDb_Ext, and ContainerQueue_Ext against a Service or Contract, and Component_Ext and its variants against an Endpoint on an L3. Only Container_Instance_Ext is never searched. A row without a match shows the Unbound badge in the Status column.
Unbound rows are not counted as conflicts and do not block the Apply button. After the diagram is created, you can bind an unbound placeholder to what the C4 rules allow for its shape, never an Integration, using the C4 Designer.
The PNG export is blank or very small
Section titled “The PNG export is blank or very small”Open the Mermaid View (/mermaid URL) for the diagram and verify the Mermaid markup is valid. Paste it into the Mermaid Live Editor to confirm it renders correctly.
Next Steps
Section titled “ Next Steps”- Repository Properties for C4 Diagramming
- C4 Model vs Nodinite Concept Mapping
- Creating Your First C4 Diagram