Organising with Boundaries
Section titled “ Organising with Boundaries”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.

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.
What Boundaries Represent
Section titled “What Boundaries Represent”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) |
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.
Adding a Boundary from the Toolbox
Section titled “Adding a Boundary from the Toolbox”- Expand the Boundaries section in the Toolbox (visible in Draft mode only)
- Drag a boundary type onto the canvas
- Drop it at the position you want — the boundary is created with a default size
- Resize by dragging the bottom-right handle
- Drop element nodes inside the boundary to assign them to it
Binding a Boundary to a Domain
Section titled “Binding a Boundary to a Domain”Bind the boundary in Boundary Properties:
- Click the boundary header: Boundary Properties opens.
- Under Shape Binding, click Resolve….
- Choose Use existing, the only tab a generic boundary offers.
- Pick the Domain, for example Sales.
- 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).

Animated walkthrough: draw a System Boundary on a Dynamic and bind it by hand. The Service inside keeps its own binding.
The subject boundary
Section titled “The subject boundary”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.
Moving Elements Between Boundaries
Section titled “Moving Elements Between Boundaries”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.
Moving a boundary with its contents
Section titled “Moving a boundary with its contents”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.
Collapsing and Expanding Boundaries
Section titled “Collapsing and Expanding Boundaries”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.

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 |
Connector Rerouting
Section titled “Connector Rerouting”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 State Persistence
Section titled “Collapse State Persistence”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
Section titled “Focus Mode”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:
- Open the boundary's hamburger menu (three-line icon in the boundary header)
- Choose Focus from the menu
To exit, click anywhere outside the elevated boundary.
Isolate Mode
Section titled “Isolate Mode”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.
Nesting Boundaries
Section titled “Nesting Boundaries”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.

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.

Animated walkthrough: import a Dynamic with boundaries; the views draw its steps inside them.
Automatic ancestor expansion
Section titled “Automatic ancestor expansion”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.
Frequently Asked Questions
Section titled “Frequently Asked Questions”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.