Skip to content
Documentation
Updated 9 minutes to read
Markdown

Boundaries are the organisational containers in a C4 diagram in the C4 Designer. They visually group related elements, represent architectural partitions, and can be bound to your Nodinite Repository: New 7.12 what a boundary binds to follows its kind. An Enterprise Boundary or a generic Boundary binds a Domain, a System Boundary a System, a Container Boundary a Service or Contract, and a Deployment Node nothing.

In a large landscape, boundaries are also a navigation tool — you can collapse them to reduce clutter, focus on a single boundary to highlight it against a dimmed background, or isolate one boundary by hiding everything else.

Bind a boundary to the Domain Sales, drag WMS into the Operations boundary, and move Operations with its contents, animated walkthrough (7.13)
Animated walkthrough: a Draft Context diagram over the Order-to-Cash demo with the boundaries Sales and Operations, from binding Sales to a Domain to moving Operations by its header with everything inside kept in place. Every element keeps its Repository binding throughout.

Nodinite has five boundary kinds, each mapped to a layer of your architecture. The diagram type decides which ones the Toolbox offers:

Boundary type Represents Available in Binds to
Enterprise Boundary Your whole organisation or a large division L0, L1, Dynamic A Domain, or nothing
Boundary (generic) Any grouping: a Domain, a Layer, a BizTalk receive port L0, L1, L2, L3, Dynamic A Domain, or nothing (on L2 and L3 usually an unbound grouping)
System Boundary A single Software System and its Containers L2, Dynamic A System
Container Boundary One Service or Contract and its Components L3 (Dynamic only from an import) A Service or Contract
Deployment Node An infrastructure zone or server Deployment Nothing (an unbound label)
graph TB Domain["fa:fa-sitemap Domain"] Sys1["fa:fa-server System"] Svc["fa:fa-gears Service or Contract"] subgraph Ent["Enterprise Boundary or Boundary"] subgraph Sys["System Boundary"] Cont["fa:fa-box Container"] end end subgraph Con["Container Boundary on a Component diagram"] Comp["fa:fa-puzzle-piece Component"] end Domain -.->|"Shape Binding"| Ent Sys1 -.->|"Shape Binding"| Sys Svc -.->|"Shape Binding"| Con style Domain fill:#2678BD style Sys1 fill:#2678BD style Svc fill:#2678BD style Comp fill:#93d16d style Cont fill:#93d16d

Diagram: each boundary kind binds its own kind of Repository entity (blue): an Enterprise Boundary or Boundary a Domain, a System Boundary a System, a Container Boundary a Service or Contract. The elements inside (green) are the nodes the boundary groups. On a Dynamic diagram an Enterprise Boundary can hold System Boundaries like this; the Container Boundary lives on a Component diagram.

In Nodinite, an Enterprise Boundary or a generic Boundary can be bound to a Domain. When you bind a boundary to a Domain, the boundary header displays the Domain name and the boundary becomes a live representation of that Domain. Changes to the Domain name in the Repository are reflected automatically.

New 7.12 On a Component diagram, a generic Boundary (or an Enterprise Boundary) inside the subject Container Boundary is an unbound grouping: an import matches it to no Domain and creates none, not even with Resolve All. On a Container diagram, a grouping inside the subject System Boundary still matches a Domain by name.

  1. Expand the Boundaries section in the Toolbox (visible in Draft mode only)
  2. Drag a boundary type onto the canvas
  3. Drop it at the position you want — the boundary is created with a default size
  4. Resize by dragging the bottom-right handle
  5. Drop element nodes inside the boundary to assign them to it

Bind the boundary in Boundary Properties:

  1. Click the boundary header: Boundary Properties opens.
  2. Under Shape Binding, click Resolve….
  3. Choose Use existing, the only tab a generic boundary offers.
  4. Pick the Domain, for example Sales.
  5. Click Confirm.

The same panel binds the other kinds to what they allow: a System Boundary to a System, a Container Boundary to a Service or Contract; a Deployment Node has no Resolve…. Once bound to a Domain:

  • The boundary header shows the Domain name
  • The boundary hamburger menu gains actions: View Domain, Quick Edit Domain, and Go to Edit Domain (new tab)
  • With a Mapify license: Show in Mapify (Mapify Rendering) and Show in Mermaid (Mermaid Rendering) become available

Use the Unbind button to remove the association at any time.

Binding a boundary changes the boundary only. On a Free Draw diagram, the elements inside it keep their own bindings. On a Layered diagram, binding the subject boundary also rebinds the element on the parent layer that zooms into it, and nothing else (see Layered Mode).

On a Dynamic diagram, the toolbox offers System, Enterprise and generic boundaries; drag a System Boundary onto the canvas, drag the Service INT1337-RCV-Order-Incoming into it, then Resolve, Use existing, the System Portal and Confirm: the boundary is bound to Portal and the participant keeps its Service, animated walkthrough (7.13)
Animated walkthrough: draw a System Boundary on a Dynamic and bind it by hand. The Service inside keeps its own binding.

New 7.12 On a Container diagram, the System Boundary around the diagram's Containers is its subject boundary: it is bound from the diagram's Architectural Scope. On a Component diagram, the Container Boundary is bound from the diagram's Subject, the Service or Contract whose inside it shows. Next layer, the import, and the generators make the subject boundary. Its Shape Binding shows the binding with a lock and Bound from the diagram's Architectural Scope. Change it in Edit Properties. (Container) or Bound from the diagram's Subject. Change it in Edit Properties. (Component), and has no Unbind or Resolve…. A System Boundary you drop from the Toolbox is an ordinary System Boundary that you bind by hand.

To move a node into a different boundary, simply drag it. When you release the mouse button, the Designer checks which boundary most tightly contains the node's centre point. If that boundary is different from the node's current parent, the node is automatically reparented.

The target boundary lights up while you drag — a visual cue showing which boundary will adopt the node when you release.

Drag the boundary header to move the entire boundary. All elements inside the boundary — including any nested child boundaries — move together, maintaining their relative positions.

Each boundary has a collapse/expand toggle button in its header. Collapsing a boundary hides all of its contents and shrinks it to a minimal size.

Collapse the Operations boundary so its connectors end on the boundary, then expand it again, animated walkthrough (7.13)
Animated walkthrough: the Operations boundary with ERP, ERP-Finance, and WMS collapsed to its header, the connectors ending on the boundary, and expanded again with everything back in place.

Action Effect
Collapse Children are hidden; boundary shrinks to its header; connectors reroute to the boundary edge
Expand Children are restored; connectors return to their original endpoints

When a boundary is collapsed, any connector that would normally connect to a hidden node is rerouted to attach to the collapsed boundary's outline. The connector still shows its label and protocol but connects to the boundary box rather than the individual node. Expanding the boundary restores all connectors to their precise endpoints.

Collapse states are saved per viewer, in the browser's local storage, not with the diagram, so other users are not affected. If you close and reopen the diagram, reload the page, or sign out and in again, boundaries are restored to their last collapsed or expanded state. Another browser, or a browser with cleared storage, opens the diagram with every boundary expanded.

Focus mode dims the entire canvas except for one boundary, which is raised to the foreground. Use it when you want to present or inspect one part of a complex diagram without visual distractions.

To enter Focus mode:

  1. Open the boundary's hamburger menu (three-line icon in the boundary header)
  2. Choose Focus from the menu

To exit, click anywhere outside the elevated boundary.

Isolate mode collapses all sibling boundaries and leaves only the selected one expanded. Where Focus mode is a visual overlay effect that is not stored, Isolate mode actually modifies the collapse state of other boundaries, which is kept per browser like any other collapse.

Use Isolate mode when you want to explore a single Domain in detail without the distraction of adjacent boundaries.

Access Isolate through the same boundary hamburger menu.

Boundaries can be nested inside other boundaries. To nest a boundary, drag it so that its centre point falls inside another boundary and release. The inner boundary becomes a child of the outer one.

Common patterns are an L2 subject System Boundary with generic Boundaries inside it (Layers, BizTalk receive ports), and, on a Dynamic diagram, an Enterprise Boundary around the System Boundaries of the owning Systems.

Add C4 Diagrams from the Order-to-Cash Integration Landscape, pick the Diagram Set and Generate: the generated Dynamic places each step's Service inside the System Boundary of the System that owns it, in step order Portal, ERP, WMS and ERP-Finance, animated walkthrough (7.13)
Animated walkthrough: a generated Dynamic groups its participants by owning System, one System Boundary each, in the order the steps first reach them.

An imported Dynamic keeps its boundaries. A Container Boundary on a Dynamic comes only from an import: it is bound to its Service or Contract, and the Components inside it stay unbound. Every view and export draws the boundaries around their participants: the interactive view, the Mermaid view, and the Markdown, PlantUML, Structurizr DSL and draw.io exports.

Import of a Dynamic with the System Boundaries Portal and ERP and a Container Boundary for the Service INT1337-ENT-Order-Entry: Skip the scope step, Review and Resolve with ERP matched to its System and the Container Boundary to its Service, Resolve All, Import, then the steps drawn inside their boundaries in the interactive view and the Mermaid view, animated walkthrough (7.13)
Animated walkthrough: import a Dynamic with boundaries; the views draw its steps inside them.

When you move or resize an element so that it extends beyond its parent boundary, the parent boundary automatically expands to contain it. This expansion continues up the nesting chain — all ancestor boundaries grow as needed to ensure no element overflows.

I moved a node but it went into the wrong boundary

Section titled “I moved a node but it went into the wrong boundary”

Drag the node again and aim for an empty area of the correct boundary. The boundary must contain the centre point of the node to adopt it. If boundaries are overlapping, the smallest containing boundary wins.

My boundary collapsed but I cannot expand it — the expand button is gone

Section titled “My boundary collapsed but I cannot expand it — the expand button is gone”

If you have collapsed a boundary and then zoomed out, the boundary may be very small. Zoom in on the boundary header area to see the expand toggle button.

Boundary headers are not showing the Domain name after binding

Section titled “Boundary headers are not showing the Domain name after binding”

The Domain binding takes effect immediately, but if a re-render has not occurred since the binding, refresh the page or move any element to trigger a re-render.

I can't rebind the boundary around my Containers or Components

Section titled “I can't rebind the boundary around my Containers or Components”

That is the subject boundary of a Container or Component diagram: it follows the diagram's Architectural Scope or Subject. Change the scope or subject in Edit Properties (Diagram Lifecycle), and the boundary follows.

...

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