---
title: Generate from Integration Landscape – Create C4 Diagram Sets from IL Data | Nodinite
description: "Generate a C4 Diagram Set from your Integration Landscape in one operation: an L0 System Landscape, one L1 System Context and one L2 Container per System, a Dynamic diagram, and optionally one L3 Component per Service, bound to real Repository entities, with Flows that carry the senders' Message Types."
---

# <i class="fal fa-wand-magic-sparkles" aria-hidden="true"></i> Generate from Integration Landscape

**Generate from Integration Landscape** creates a [C4 Architecture Diagram Set][Architecture Diagrams] directly from your [Integration Landscape][Integration Landscape] data, in one operation, without writing a single line of Mermaid markup.

Every generated diagram is bound to real [Repository][Repository Model] entities by ID. [Systems][] appear on the System Landscape and System Context diagrams and as neighbours on Container diagrams, [Services][] as Containers, and [Endpoints][] as the Components of a Service's Component diagram. The [Integration][Integrations] is only the generator's input: <sup><span class="nodinite-new-badge">New 7.12</span></sup> it is never a node or a scope. Each Flow carries the [Message Types][] of its sender. Re-running the generator on the same [Diagram Set][Diagram Set Fundamentals] keeps every stored Flow and never disturbs the diagrams you made yourself.

✅ **Full-stack C4 output from a single action**: L0, <sup><span class="nodinite-new-badge">New 7.12</span></sup> L1 per System, L2 per System, Dynamic, and, when you tick it, L3 per Service  
✅ **Message Types on every Flow**: each Flow carries the Message Types of its sender's [Transport Contracts][]  
✅ **No Mermaid required**: repository IDs are used directly; the import wizard is not involved  
✅ **Keeps your work**: <sup><span class="nodinite-new-badge">New 7.12</span></sup> an Active diagram you imported or drew yourself is **Kept**, with no Draft beside it  
✅ **Nothing to sync**: <sup><span class="nodinite-new-badge">New 7.12</span></sup> [navigation between the diagrams is inferred][Navigation Between C4 Diagrams] when they open  

![Generate Architecture Diagrams from the Order-to-Cash Integration Landscape: Add C4 Diagrams, the shared Diagram Set picker with the All tab 10 a page, Filter the result and Create new set, a set picked and shown under Selected (1), the Diagram Types System Landscape, Context, Container and Dynamic ticked by default, Generate, the summary saying no links need to be created, then the generated System Landscape with Portal, ERP, ERP-Finance and WMS, and Portal — Containers with Portal's Services inside a System boundary and ERP outside, animated walkthrough (7.12)][1]  
*Animated walkthrough: on the Integration Landscape of the [Order-to-Cash demo][] Integration, **Add C4 Diagrams**, a Diagram Set picked on the **All** tab, and **Generate**. Then the generated System Landscape, which has no Architectural Scope, and the Portal Container diagram, scoped to the System Portal.*  

## Why This Exists

The [Import][Import] wizard is designed for human-authored markup: you paste Mermaid text, and the wizard resolves element names against your Repository. That pipeline is text-first and produces one diagram per import.

The Integration Landscape is data-first. Every entity is already identified by a Repository ID, and every Service relation already knows which Message Types it carries. The dedicated generator turns that data into the diagrams directly:

| | Import Wizard | Generate from IL |
|---|---|---|
| Source | Mermaid / PlantUML / Structurizr / Draw.io text | Repository entity IDs |
| Entity matching | Name-based resolver | Pre-resolved, no matching needed |
| Boundary binds to | By kind: generic and Enterprise Boundary to a [Domain][Domains], System Boundary to a [System][Systems], Container Boundary to a [Service][Services] or [Contract][Contracts] | The [System][Systems] (the L2's subject boundary; one per owning System on the Dynamic) |
| Message Types on Flows | The text after ` / ` in the technology, matched by name to a [Message Type][Message Types] | Taken from the senders' [Transport Contracts][] |
| Output | 1 diagram per run | A full set of diagrams in one run |
| Consecutive runs | Manual re-import | Keeps every Flow, adds what is new |

## What Gets Generated

A generation run takes one Integration as input, targets a [Diagram Set][Architecture Diagrams], and produces:

| Diagram | Option (default) | Scope | Subject | Content |
|---|---|---|---|---|
| System Landscape (L0), 1 | **System Landscape** ✅ | none | none | One [System][Systems] per System of the [Integration][Integrations]; one connector per System pair, its Flows carrying the sending [Services][]' [Message Types][], per direction |
| <sup><span class="nodinite-new-badge">New 7.12</span></sup> System Context (L1), 1 per [System][Systems] | **Context** ✅ | the System | the scope | The System plus its neighbouring Systems as `System_Ext` (bound); one connector per pair with the senders' [Message Types][]; no Persons |
| Container (L2), 1 per [System][Systems] | **Container** ✅ | the System | the scope | The subject `System_Boundary` (derived from the scope) around the System's [Services][]; <sup><span class="nodinite-new-badge">New 7.12</span></sup> the neighbouring Systems outside as `System_Ext` with the cross-System Flows |
| Component (L3), 1 per [Service][Services] | **Component** ☐ | the Service's [System][Systems] | the Service | The subject `Container_Boundary` (derived from the subject); one Component per [Endpoint][Endpoints] inside; the related Services outside as `Container` or `Container_Ext` |
| Dynamic, 1 per [Integration][Integrations] | **Dynamic** ✅ | none | none | The [Services][] as participants in step order, one `System_Boundary` per owning [System][Systems], steps carrying the sender's [Message Types][] |

Every generated diagram is a **Draft** in **Free Draw** mode, even in a set whose mode is Layered (see [Diagram Set Fundamentals][]). The exception is a diagram the [skip rule](#consecutive-runs-append-and-update) keeps: then no Draft is made.

The scope of a diagram is always a System. The System Landscape has none, and the Dynamic diagram needs none: you can promote it without one (see [Diagram Lifecycle][]). The Context and Container diagrams are scoped to their System. A Component diagram is scoped to its Service's System, and its **subject** is the Service.

The generated diagrams are named *&lt;Integration&gt; — System Landscape*, *&lt;System&gt; — System Context*, *&lt;System&gt; — Containers*, *&lt;Service&gt; — Components*, and *&lt;Integration&gt; — Flow* (the Dynamic). For the [Order-to-Cash demo][], a run with the default Diagram Types on an empty set creates 10 diagrams:

* *INT1337 - Order-to-Cash — System Landscape*;
* *Portal — System Context*, *ERP — System Context*, *WMS — System Context*, and *ERP-Finance — System Context*;
* *Portal — Containers*, *ERP — Containers*, *WMS — Containers*, and *ERP-Finance — Containers*;
* *INT1337 - Order-to-Cash — Flow* (Dynamic).

No Component diagram comes out, because **Component** is off by default. In the taught Order-to-Cash story, you import the six example diagrams first and then generate with **Context**, **Container**, and **Component**: the generator adds the 19 missing diagrams and keeps the imported ones, 25 in all. See [Build the Order-to-Cash C4 set][].

<div class="mermaid">
graph TD
    Input["fa:fa-sitemap Integration<br/>from Integration Landscape"]
    Generator["fa:fa-wand-magic-sparkles Generate from IL<br/>Dedicated pipeline<br/>no Mermaid text"]
    L0["fa:fa-globe L0 System Landscape<br/>1 per Integration"]
    L1["fa:fa-circle-nodes L1 System Context<br/>1 per System"]
    DYN["fa:fa-shuffle Dynamic Diagram<br/>1 per Integration"]
    L2["fa:fa-cubes L2 Container<br/>1 per System"]
    L3["fa:fa-cube L3 Component<br/>1 per Service<br/>off by default"]
    Set["fa:fa-folder Diagram Set<br/>navigation inferred on open"]
    Input --> Generator
    Generator --> L0
    Generator --> L1
    Generator --> DYN
    Generator --> L2
    Generator --> L3
    L0 --> Set
    L1 --> Set
    DYN --> Set
    L2 --> Set
    L3 --> Set
    style Generator fill:#2678BD
    style Set fill:#FFD525
</div>

*The generator (blue) writes the diagrams into one Diagram Set (yellow). Each level runs in its own transaction. Nothing is linked afterwards: inferred navigation pills connect the diagrams when they open.*

## Entity-to-Diagram Mapping

The mapping of Repository entities to C4 elements across the generated diagrams:

| Repository entity | C4 element | Generated level | Bound by |
|---|---|---|---|
| [System][Systems] | System node | L0, L1 (the scope) | System ID |
| [System][Systems] | `System_Ext` neighbour | L1, L2 | System ID |
| [System][Systems] | `System_Boundary` | L2 (the subject, derived from the scope); Dynamic (one per owning System) | System ID |
| [Service][Services] | Container node | L2 (inside the subject boundary); L3 neighbours (`Container`, or `Container_Ext` in another [System][Systems]); Dynamic participant | Service ID |
| [Service][Services] | `Container_Boundary` | L3 (the subject) | Service ID |
| [Endpoint][Endpoints] | Component node | L3 (inside the [Service][Services]) | Endpoint ID |
| [Message Type][Message Types] | On a Flow, not a node | every level | Message Type ID |

<sup><span class="nodinite-new-badge">New 7.12</span></sup> An Integration is never drawn. Its Services, their Systems, and their Endpoints are.

## Diagram Scope Rules

### L0 System Landscape

The L0 is the widest view. It shows only Systems and the Flows between them.

* One `System(...)` node per distinct System of the Integration
* One connector per System pair; its Flows carry the Message Types of the sending Services, one set per direction
* No Services and no Endpoints appear at this zoom level
* <sup><span class="nodinite-new-badge">New 7.12</span></sup> **No boundaries**, so no [Domain][Domains] boundaries either. The [System Landscape example][L0 Example] has Domain boundaries because it is imported
* No Architectural Scope
* Emitted Mermaid type: `C4Context`

### L1 System Context

<sup><span class="nodinite-new-badge">New 7.12</span></sup> One L1 is generated per System, when **Context** is ticked (it is on by default).

* Scope: the System; it is also the diagram's subject
* The neighbouring Systems, from the cross-System Service relations, as `System_Ext`, each bound to its System
* One connector per pair, with the senders' Message Types
* **Persons are not generated**: draw them in the [C4 Designer][], or import them
* Emitted Mermaid type: `C4Context`

### Dynamic Diagram

The Dynamic diagram shows the runtime interaction sequence.

* The Integration's Services are the participants, as Containers bound to the Services
* One `System_Boundary` per owning System around its participants
* Each step carries its sender's Message Types and has its own step number
* <sup><span class="nodinite-new-badge">New 7.12</span></sup> The diagram reads in step order: participants and boundaries are placed in the order the steps first reach them (for the Order-to-Cash demo: Portal, ERP, WMS, ERP-Finance). This applies to a newly created diagram; a re-run keeps where you placed things
* No Architectural Scope needed to promote it

The other generator of a Dynamic diagram is <sup><span class="nodinite-new-badge">New 7.12</span></sup> **C4 Dynamic** on a [BPM][BPMs]'s view page: it draws the BPM's Services in phase order and needs **Create** on [C4 Diagram Sets][], read on BPMs, and the same design rights as this generator (see below). [Grouped Log View runtime inspection][Inspect Grouped Log Views as Runtime Diagrams] is a separate feature and can present the same runtime path in Systems mode.

### L2 Container Diagrams

One L2 is generated per System.

* Scope: the System; the subject `System_Boundary(...)` takes its binding from the scope and is read-only
* One `Container(...)` node per Service inside the boundary, bound to the Service ID
* <sup><span class="nodinite-new-badge">New 7.12</span></sup> The neighbouring Systems outside the boundary as `System_Ext`, with the cross-System Flows of each direction
* Flows between Services carry the sender's Message Types
* Emitted Mermaid type: `C4Container`

### L3 Component Diagrams

One L3 is generated per Service, when **Component** is ticked under **Diagram Types** (it is off by default).

* Scope: the Service's System. Subject: the Service, drawn as the subject `Container_Boundary` bound to it
* Inside: one `Component(...)` per Endpoint of the Service's Transport Contracts, bound to the Endpoint
* Outside: each related Service as a `Container`, or a `Container_Ext` when it belongs to another System
* A Flow out of the subject leaves from its Endpoints that carry the Message Type; a Flow into the subject lands on its receive Endpoints
* Emitted Mermaid type: `C4Component`

## Entry Points

| Where | How |
|---|---|
| [Integration Landscape][] | The page's toolbar button **Add C4 Diagrams** (*Create a C4 Diagram from this Integration Landscape*) |
| <sup><span class="nodinite-new-badge">New 7.12</span></sup> BPM view page | [C4 Dynamic][C4 Dynamic from a BPM], for the Dynamic diagram only (see [BPMs][]) |

**Add C4 Diagrams** opens the **Generate Architecture Diagrams** dialog:

* <sup><span class="nodinite-new-badge">New 7.12</span></sup> the shared **Diagram Set** picker, the same one **C4 Dynamic** on the BPM page uses. **Selected** shows your pick. **All** lists the sets 10 per page, with *Filter the result*. The **Create new set** toggle takes a **Name** and **Description** instead, and turns into **Choose an existing set** to go back;
* **Diagram Types**: **System Landscape** ✅ on, <sup><span class="nodinite-new-badge">New 7.12</span></sup> **Context** ✅ on (*One System Context per System: the System and the Systems it exchanges messages with. Persons are not generated.*), **Container** ✅ on, **Component** ☐ off by default, and **Dynamic** ✅ on.

Click **Generate**. The action requires you to select or create a **Diagram Set** before generation starts.

<aside aria-label="Important" class="nodinite-note nodinite-note--important">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-message-exclamation"></i> Important</p>
<div class="nodinite-note__content"><p>Generating diagrams from Integration Landscape requires <strong>Create</strong> permission in the <a href="https://docs.nodinite.com/administration/customize/c4-diagram-sets/overview/">C4 Diagram Set</a> permission set, and, like every C4 design action, <strong>Create</strong> and <strong>Modify</strong> on Systems, Services, Integrations, and Domains (plus Contracts when Contracts are on). The rights are checked before a new set is made, and a refusal names each missing right. See <a href="https://docs.nodinite.com/administration/access-management/roles/features/permission-set-for-c4-diagram-sets/">Permission Set for C4 Diagram Sets</a> and <a href="https://docs.nodinite.com/repository-model/c4-diagrams/features/role-based-access-for-c4-diagram-sets/">Role-Based Access for C4 Diagram Sets</a>.</p></div>
</aside>

## Consecutive Runs: Append and Update

The generator supports re-running against the same Diagram Set safely.

| Situation | Behavior |
|---|---|
| First run, no generated diagrams in the set | Full creation: all diagrams created from scratch |
| Consecutive run | Every stored Flow is kept; Flows are added **only between node pairs where at least one node is new**. Manual layout positions are preserved, and so is an Architectural Scope you picked on the System Landscape or Dynamic diagram |
| A Flow you deleted | Never comes back |
| A new relation between nodes already on the diagram | Not added on a re-run: add it in the Designer, or generate into a fresh set |
| <sup><span class="nodinite-new-badge">New 7.12</span></sup> The set already holds an **Active** diagram of the same type, scope, and subject that the generator didn't make (imported or hand-made) | The generator **keeps** it and makes no Draft beside it; its summary row says *Kept*. Applies to L0, L1, L2, and L3, never to the Dynamic |

So generating after you import a System's L1 and L2 and a Service's L3 adds only the missing diagrams.

![Add C4 Diagrams from the Integration Landscape with an L3 per Service: each Flow on the System Landscape carries its sender's Message Type, the L3 of INT1337-RCV-Order-Entry shows its Endpoints inside and related Services outside; after Generate again the Flow a user added stays and the one they deleted doesn't come back, animated walkthrough (7.13)][2]  
*Animated walkthrough: generate, read the Flows and their Message Types, change them, and generate again. Your changes stay.*  

## Relationship to Import

Generate from Integration Landscape and Import are independent pipelines. They operate on different sources and produce different outputs.

**Import** accepts text. It is the right tool when you have existing C4 markup from another tool or when you want to author diagrams manually in Mermaid.

**Generate from IL** accepts Repository entities. It is the right tool when you want to automatically project your Integration Landscape into a structured C4 Diagram Set.

When you re-import Mermaid markup exported from a generated diagram, the boundaries resolve by kind: a `System_Boundary` to a System (on an L2 it is the subject and follows the scope), a `Container_Boundary` to a Service or Contract, and generic and Enterprise boundaries to Domains. The Message Types come back through the text after ` / ` in each technology.

## Generation Summary

After a successful run the generator shows *Diagrams generated successfully for &lt;Integration&gt;* and:

* the counters **Created**, **Updated**, and <sup><span class="nodinite-new-badge">New 7.12</span></sup> **Kept**;
* a table with the columns **Diagram**, **Level**, and **Status**, one row per diagram. The Status is *Created*, *Updated*, or *Kept*; a *Kept* row has a lock icon with the tooltip *The set already has an Active diagram of this scope that the generator didn't make; it was left as it is and no Draft was made beside it.* Each diagram name is a link that opens the diagram in a new tab;
* the note *Navigation between these diagrams is inferred from their scope, subject and bindings when they open; no links need to be created.*

The only button is **Close**. On a first run for the [Order-to-Cash demo][] with the defaults, all 10 diagrams have the status Created; on a consecutive run, the existing ones are Updated.

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

* <i class="fal fa-route" aria-hidden="true"></i> [Build the Order-to-Cash C4 set][]  
* <i class="fal fa-compass" aria-hidden="true"></i> [Navigation Between C4 Diagrams][]  
* <i class="fal fa-link" aria-hidden="true"></i> [Repository Bindings – Link C4 Shapes to Systems and Services][Repository Bindings]  
* <i class="fal fa-file-import" aria-hidden="true"></i> [Import – Bring C4 Diagrams from Mermaid, PlantUML, Structurizr DSL, or Draw.io XML][Import]  

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

* <i class="fal fa-sitemap" aria-hidden="true"></i> [Architecture Diagrams Overview][Architecture Diagrams]  
* <i class="fal fa-map" aria-hidden="true"></i> [Integration Landscape][Integration Landscape]  
* <i class="fal fa-circle-question" aria-hidden="true"></i> [What is C4 Diagrams?][What is C4 Diagrams]  
* <i class="fal fa-user-shield" aria-hidden="true"></i> [Role-Based Access for C4 Diagram Sets][]  
* <i class="fal fa-route" aria-hidden="true"></i> [Inspect Grouped Log Views as Runtime Diagrams][]  
* <i class="fal fa-arrows-left-right-to-line" aria-hidden="true"></i> [C4 Model vs Nodinite Concept Mapping][C4 Model vs Nodinite Concept Mapping]  
* <i class="fal fa-list-check" aria-hidden="true"></i> [Repository Properties for C4 Diagramming][Repository Properties for C4 Diagramming]  
* <i class="fal fa-wand-magic-sparkles" aria-hidden="true"></i> [Generate Documentation from Your Platforms][Generate Documentation]  

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Repository/C4/Diagram/C4_GenerateLandscape.gif
[2]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Repository/C4/Set/C4_GenerateFlowsFromTransportContracts.gif

[Architecture Diagrams]:https://docs.nodinite.com/repository-model/c4-diagrams/overview/
[BPMs]:https://docs.nodinite.com/repository-model/bpms/overview/
[Build the Order-to-Cash C4 set]:https://docs.nodinite.com/repository-model/c4-diagrams/getting-started/examples/order-to-cash/build-the-order-to-cash-c4-set/
[C4 Designer]:https://docs.nodinite.com/repository-model/c4-diagrams/features/c4-designer/
[C4 Diagram Sets]:https://docs.nodinite.com/administration/customize/c4-diagram-sets/overview/
[C4 Dynamic from a BPM]:https://docs.nodinite.com/repository-model/bpms/overview/#fa-shuffle-c4-dynamic-from-a-bpm
[C4 Model vs Nodinite Concept Mapping]:https://docs.nodinite.com/repository-model/c4-diagrams/troubleshooting/c4-model-vs-nodinite-concept-mapping/
[Contracts]:https://docs.nodinite.com/getting-started/repository/contracts/overview/
[Diagram Lifecycle]:https://docs.nodinite.com/repository-model/c4-diagrams/designer/diagram-lifecycle/
[Diagram Set Fundamentals]:https://docs.nodinite.com/repository-model/c4-diagrams/features/diagram-set-fundamentals/
[Domains]:https://docs.nodinite.com/repository-model/domains/overview/
[Endpoints]:https://docs.nodinite.com/repository-model/endpoints/overview/
[Generate Documentation]:https://docs.nodinite.com/getting-started/repository/documentation-strategy/generate-documentation-from-your-platforms/
[Import]:https://docs.nodinite.com/repository-model/c4-diagrams/features/import/
[Inspect Grouped Log Views as Runtime Diagrams]:https://docs.nodinite.com/repository-model/c4-diagrams/features/inspect-grouped-log-views-as-runtime-diagrams/
[Integration Landscape]:https://docs.nodinite.com/getting-started/repository/integrations/integration-landscape/
[Integrations]:https://docs.nodinite.com/repository-model/integrations/overview/
[L0 Example]:https://docs.nodinite.com/repository-model/c4-diagrams/getting-started/examples/order-to-cash/system-landscape-diagram-example/
[Message Types]:https://docs.nodinite.com/repository-model/message-types/overview/
[Navigation Between C4 Diagrams]:https://docs.nodinite.com/repository-model/c4-diagrams/features/sync/
[Order-to-Cash demo]:https://docs.nodinite.com/repository-model/bpms/examples/order-to-cash/generate-o2c-demo-data/
[Permission Set for C4 Diagram Sets]:https://docs.nodinite.com/administration/access-management/roles/features/permission-set-for-c4-diagram-sets/
[Repository Bindings]:https://docs.nodinite.com/repository-model/c4-diagrams/designer/repository-bindings/
[Repository Model]:https://docs.nodinite.com/repository-model/overview/
[Repository Properties for C4 Diagramming]:https://docs.nodinite.com/repository-model/c4-diagrams/troubleshooting/repository-properties-for-c4-diagramming/
[Role-Based Access for C4 Diagram Sets]:https://docs.nodinite.com/repository-model/c4-diagrams/features/role-based-access-for-c4-diagram-sets/
[Services]:https://docs.nodinite.com/repository-model/services/overview/
[Systems]:https://docs.nodinite.com/repository-model/systems/overview/
[Transport Contracts]:https://docs.nodinite.com/repository-model/services/overview/#fa-microchip-transport-contracts-the-heart-of-service-definitions
[What is C4 Diagrams]:https://docs.nodinite.com/repository-model/c4-diagrams/features/what-is-c4-diagrams/