What is C4 Diagrams?
Section titled “ What is C4 Diagrams?”C4 Diagrams (Architecture Diagrams) in Nodinite turn your existing Repository Model into standard C4 architecture views that never go stale. Every node is bound to a real System, Service or Contract, every L3 Component to an Endpoint, and every Domain boundary to a Domain (or left unbound), so the diagrams change when your integration landscape changes, and they connect straight to live monitoring and logging.
- ✅ Always current: diagrams read live Repository data instead of static drawings
- ✅ Standard C4 notation, rendered and exported as Mermaid C4
- ✅ Diagram Sets with inferred navigation pills between zoom levels
- ✅ Live health and Remote Actions on Service and Contract nodes (Monitoring)
- ✅ Runtime diagrams on demand from grouped Log Views

Animated walkthrough: one Diagram Set, four views of the same architecture. The Portal's System Context and Container diagrams, the Component diagram of one of its Services, and the Dynamic diagram of the seven Order-to-Cash steps.

Example of an L1 System Context diagram in the interactive view, with Repository-bound nodes and labelled connectors. New 7.12 Each bound node carries its navigation pills, and the Related panel lists inferred and manual entries.
Understanding the C4 Model
Section titled “Understanding the C4 Model”Before exploring how Nodinite implements C4 Diagrams, it is useful to understand what the C4 model is and why it has become the industry standard for communicating software architecture.
The C4 model was created by Simon Brown as a practical way to describe and communicate software systems. Its name comes from the four levels of zoom it defines:
| Level | Name | Audience | Shows |
|---|---|---|---|
| L1 | Context | Everyone — business and technical | People, external systems, high-level relationships |
| L2 | Container | Technical teams | Applications, services, databases, and the technology choices within a system boundary |
| L3 | Component | Developers | Components inside a specific container |
| 4th level | Code | Very senior developers | UML-style class diagrams |
The key insight is that most architectural communication only requires L1 and L2. Detailed Component and Code diagrams are rarely shared beyond the development team.
Nodinite numbers four levels and adds two diagram types without a level number (see Shapes and Toolbox), from executive-level overview to developer-level module documentation:
| Nodinite level | Diagram type |
|---|---|
| L0 | System Landscape |
| L1 | Context |
| L2 | Container |
| L3 | Component |
| - | Dynamic |
| - | Deployment |
Why the C4 Model Has Won
Section titled “Why the C4 Model Has Won”- Tool-neutral — the same notation works in Mermaid, PlantUML, Structurizr, Visio, or hand-drawn on a whiteboard
- Consistent zoom levels — everyone on the team knows exactly what a "Container diagram" means
- Widely adopted — used by thousands of engineering teams across industries and vendors
- Embeddable — Mermaid C4 syntax renders natively in GitHub, Confluence, Azure DevOps, Notion, and more
Why C4 Diagrams Matters to Your Organization
Section titled “Why C4 Diagrams Matters to Your Organization”Architecture diagrams are critical artifacts for alignment — they help executives understand system scope, guide teams through design decisions, and bridge communication gaps between technical and business stakeholders. However, most diagram tools suffer from the same problem:
| Challenge | Business Impact |
|---|---|
| Diagrams go stale | Documentation drifts from reality, reducing trust in architectural decisions |
| No single source of truth | Business systems, IT teams, and architects maintain separate diagrams that conflict |
| Expensive to maintain | Keeping diagrams in sync with changes is the top documentation challenge architects report (State of Software Architecture survey) |
| Hard for non-technical stakeholders | Generic boxes with no context make it difficult for executives and product teams to understand scope |
| Can't show multiple perspectives | A single diagram can't show both high-level system context AND technical infrastructure layers |
C4 Diagrams in Nodinite solves this by linking diagrams directly to your existing Repository Model — the system of record for all integration metadata. When a Service is renamed, deployed, or re-architected, every C4 diagram that uses it automatically reflects the change. Stakeholders always see current, accurate information without manual diagram maintenance.
The same Architecture Diagrams capability also supports grouped Log View runtime inspection. That gives teams an investigation-first view of related events without forcing them to save a curated diagram first.
How Nodinite Entities Map to C4 Concepts
Section titled “How Nodinite Entities Map to C4 Concepts”The critical insight is that no new top-level Repository entities are needed. The existing Nodinite Repository Model already contains everything the C4 model requires. Only a small number of new typed properties are added to existing entities.
L1: C4 Context → Systems + Connectors
Section titled “L1: C4 Context → Systems + Connectors”In a C4 Context diagram, you see People (users, roles) and Software Systems placed around a central system boundary. In Nodinite, these are Systems with the new C4Type property:
| C4 L1 Element | Nodinite Entity | C4Type Value |
Visual |
|---|---|---|---|
| Person / User | System | Person |
|
| Internal Software System | System | InternalSystem |
|
| External Software System | System | ExternalSystem |
Relationships between Persons and Systems are shown as arrows with a Label (describing the interaction, e.g., "Sends orders") and a technology (e.g., "HTTPS"). New 7.12 One connector per node pair holds one or more Flows, each with at most one Message Type, written as protocol / Message Type. An L1 is about one System, its scope; the Systems it talks to are drawn as System_Ext.
L2: C4 Container → Services or Contracts
Section titled “L2: C4 Container → Services or Contracts”In a C4 Container diagram, you zoom into one System and see the applications, services, databases, and message buses — and how they communicate. New 7.12 In Nodinite, Container nodes bind to Services or Contracts, never to a System. The System is the diagram's subject System_Boundary, bound from its scope; a platform or portal is a System shape (System_Ext) outside it:
| C4 L2 Element | Nodinite Entity | Property | Example |
|---|---|---|---|
| Container (REST API) | Service | C4ContainerType = API |
Mobile API |
| Container (Database) | Service | C4ContainerType = Database |
Customer DB |
| Container (Message Bus) | Service | C4ContainerType = MessageBus |
Azure Service Bus |
| Container (Batch Job) | Service | C4ContainerType = Function |
Nightly Sync |
| System Boundary | System | The diagram's Architectural Scope (derived, read-only) | Portal |
| Neighbouring System | System | System_Ext, outside the System Boundary |
ERP, CRM platform |
| Boundary / Layer | Domain, or unbound | Generic or Enterprise boundary | Experience APIs layer |
| Technology label | Service or Contract | C4Technology string; a Flow's technology carries protocol / Message Type |
"ASP.NET Core", "PostgreSQL" |
L3: C4 Component → Endpoints of the Subject
Section titled “L3: C4 Component → Endpoints of the Subject”New 7.12 In a C4 Component diagram, you zoom into one Service or Contract, the diagram's subject, drawn as the Container_Boundary; the diagram's scope is the System it lives in. Inside, each Component is an Endpoint of the subject (it shows the Endpoint's icon, has View only, and no state) or an unbound step, such as a pipeline stage, map or filter. Related Services stand outside as Containers. An Integration is never a C4 element.
The Visual Result
Section titled “The Visual Result”A complete C4 Container diagram produced by Nodinite follows this layered structure:
┌─────────────────────────────────────────────────────────────────────────┐│ [Person: Partner] [Person: Mobile User] [Person: Web User] │ ← Systems (C4Type=Person)│ │ │ │ │├─────────────────────────────────────────────────────────────────────────┤│ Domain: Experience APIs ││ [Service: EDI 850] [Service: EDI 810] [Service: Mobile API] ... │├─────────────────────────────────────────────────────────────────────────┤│ Domain: Process APIs ││ [Service: Outbound] [Service: Inbound] [Service: PO Tracking] ... │├─────────────────────────────────────────────────────────────────────────┤│ Domain: System APIs ││ [Service: Purchase Orders] [Service: Shipments] [Service: Invoice] │├─────────────────────────────────────────────────────────────────────────┤│ [System: ERP] [System: WMS] [System: Bank] [System: TM] [EDW] │ ← Systems (C4Type=ExternalSystem)└─────────────────────────────────────────────────────────────────────────┘ ↑ Connection lines with Label and Protocol drawn between nodesThe Domain layers sit inside the System's boundary, and the Systems it exchanges messages with sit outside it. This matches the API-led connectivity pattern used widely in MuleSoft, Azure API Management, and APIM governance documentation — now auto-generated from your live Repository data.
Diagram Sets and Shared Navigation
Section titled “Diagram Sets and Shared Navigation”Every C4 diagram belongs to a Diagram Set — the primary organizing unit in Architecture Diagrams. A set keeps related views for one subject together so users can move between levels without losing context.
Diagram Sets
Section titled “ Diagram Sets”Diagram Sets keep related views connected so users can move from one level to the next without searching manually.
This is the key benefit of Sets: you write a Person(user, "Mobile User") once, bind it to the "Mobile User" System in the Nodinite Repository Model, and the binding is shared across every diagram in the set that includes that entity.
Architecture Scope is the identity
Section titled “Architecture Scope is the identity”Inside a Diagram Set, Architecture Scope is the architectural identity contract.
Keep the scope consistent for the views you want to connect. If you need broader coverage, create sibling diagrams with different scope values inside the same Diagram Set.
The main idea is that scope keeps related views aligned. New 7.12 The scope is one System (an L0 has none), and an L3 also has a subject, a Service or Contract. Navigation is inferred every time a diagram opens, inside the set, and nothing is stored. For the full model, see Diagram Set Fundamentals and Navigation Between C4 Diagrams.
Diagram type + scope/subject + each element's binding->Inferred navigation pills (Inside, Context, Dynamic, Owner, Zoom out, Related view)Layered Mode vs Free Draw
Section titled “Layered Mode vs Free Draw”Both modes keep scope, but they behave differently:
- Layered Mode keeps the bindings consistent across diagrams: adding or removing nodes and boundaries propagates to the related Layered Drafts.
- Free Draw keeps edits local to the current diagram.
Changing the scope of a diagram changes its architectural identity and therefore the pills it shows.
How Diagrams Are Shared
Section titled “ How Diagrams Are Shared”Architecture Diagrams can be shared as Mermaid markup or exported as images and files. The result is:
- Easy to share — paste into Confluence, GitHub, Azure DevOps, Notion, or any Mermaid-capable tool
- Embeddable — keep the same architecture view in documentation and collaboration tools
- Exportable — as SVG, PNG, Mermaid, Structurizr DSL, PlantUML, or Draw.io, one diagram at a time or a whole Diagram Set as a ZIP (see Export and Sharing)
Runtime inspection from grouped Log Views
Section titled “Runtime inspection from grouped Log Views”Architecture Diagrams is not only for saved documentation. A grouped Log View can also open an on-demand runtime diagram based on related events.
This complements authored Dynamic diagrams:
- the grouped Log View runtime diagram is investigation-first and can switch between Participants mode and Systems mode
- the authored Dynamic diagram remains a curated architecture artifact inside a Diagram Set
- when
UseContracts=true, grouped runtime can classify a single resolved Contract as the participant and use contract ownership for Systems-mode placement
Learn how grouped runtime inspection works ->
What Makes This Different from Static Tools
Section titled “What Makes This Different from Static Tools”| Visio / draw.io | Enterprise Architect | Starlify | Nodinite Architecture Diagrams | |
|---|---|---|---|---|
| Uses live Repository data | ❌ No | ❌ No | ⚠️ Partial | ✅ Always current |
| Diagram Sets with inferred navigation | ❌ No | ❌ No | ⚠️ Partial | ✅ Yes |
| Multiple L2 diagrams per subject | ❌ No | ❌ No | ⚠️ Partial | ✅ Per-set scoping |
| Import from existing Mermaid | ❌ No | ❌ No | ❌ No | ✅ Import wizard |
| Auto-generates Mermaid C4 | ❌ No | ❌ No | ❌ No | ✅ Yes |
| Containers bind to Services or Contracts; L3 Components to Endpoints | ❌ No | ❌ No | ❌ No | ✅ Yes |
| Connected to monitoring & logging | ❌ No | ❌ No | ❌ No | ✅ Yes |
| Zero marginal cost per diagram | ❌ No | ❌ No | ❌ No | ✅ Included with the Mapify module |
| Industry-standard C4 notation | ✅ Manual | ✅ Manual | ✅ Yes | ✅ Auto-generated |
| Interactive visual designer | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Summary
Section titled “Summary”Architecture Diagrams in Nodinite is the only architecture visualization tool that:
- Organizes all views for one subject in a Diagram Set with inferred navigation between levels
- Reads from a live, CMDB-quality Repository Model that is already maintained by your integration teams
- Produces standard C4 notation from imported or visually designed diagrams
- Binds Container nodes to Services or, when UseContracts is on, Contracts, and L3 Components to Endpoints
- Stores all relationships relationally — including the flows behind each connector — so they are queryable, auditable, and conflict-safe
- Connects architecture documentation directly to operational monitoring and logging
It is not a replacement for your integration tooling — it is the architectural documentation layer that was always missing from it.
Next Steps
Section titled “ Next Steps”- Creating Your First C4 Diagram
- C4 Designer – Interactive Canvas
- Import
- Mermaid View – Read-Only Rendering
- Monitoring – Operational Health on Nodes
- Inspect Grouped Log Views as Runtime Diagrams