---
title: Technical Reference - Architecture Diagrams Features, APIs, and Modes | Nodinite
description: Feature-focused technical reference for Nodinite Architecture Diagrams. Includes view vs designer capability matrices, import/export support, and user-facing API endpoint families.
---

# :fa-book-open: Technical Reference

This reference describes what users can do with [Architecture Diagrams][] in :Nodinite:.

It is intentionally focused on available features and supported workflows, not internal implementation details.

## :fa-layer-group: Scope of This Reference

Use this page when you need:

* a capability overview of **View mode** vs **Designer mode**
* a practical guide to **Import/Export** options
* a quick map of [Web API][] **endpoint families** for automation and integration
* lifecycle guidance for **Draft** and **Active** diagrams

## :fa-table: Capability Matrix - View Mode vs Designer Mode

A diagram has two pages. The **View** page (`/Repository/C4DiagramSets/{set}/Diagrams/{id}`) is for reading; the **Designer** (the same address ending in `/design`) is for editing a Draft. **Edit** (the diagram's properties) and **Designer** both need Modify on the set (see [Role-Based Access for C4 Diagram Sets][]).

![The same Contoso Order Platform diagram on the View page and in the Designer: an Active diagram is read-only in the Designer, and a Draft has the Toolbox and saves a moved element, animated walkthrough (7.12)][1]  
*Animated walkthrough: the Active diagram on the View page (pan, an inspector, **Print & Export**), then in the Designer, where it is read-only with **Create Draft** and a moved node isn't saved. The Draft of the same set opens with the **Toolbox**, and a moved node is saved.*  

The matrix below compares what is available on each page.

Legend:

* ✅ Yes: available
* ❌ No: not available
* ✅ Draft only: requires diagram state = Draft

| Capability | :fa-eye: View mode | :fa-pen-ruler: Designer mode |
|---|---|---|
| Interactive canvas (pan, zoom, fit) | ✅ Yes | ✅ Yes |
| Node, connector, and boundary inspectors | ✅ Yes | ✅ Yes |
| Navigation pills (inferred) and manual links | ✅ Yes | ✅ Yes |
| Collapse/expand and focus boundaries | ✅ Yes | ✅ Yes |
| Monitoring overlays and status refresh | ✅ Yes | ✅ Yes |
| Open Mermaid companion view/modal | ✅ Yes | ✅ Yes |
| Export diagram artifacts | ✅ Yes (**Print & Export**) | ✅ Yes (**Export**) |
| Print diagram | ✅ Yes (**Print & Export**) | ❌ No |
| Edit diagram metadata (properties) | ✅ Yes | ✅ Yes |
| Add, Manage, and Remove manual links (**Related** panel; needs **Modify**) | ✅ Yes | ✅ Yes |
| Clone as Draft | ❌ No | ✅ Yes |
| Promote to Active | ❌ No | ✅ Draft only |
| Toolbox (add new elements) | ❌ No | ✅ Draft only |
| Move and resize elements | On screen only, not saved | ✅ Draft only (saved) |
| Create connectors from ports/handles | ❌ No | ✅ Draft only |
| Edit node, connector, and boundary properties | ❌ No | ✅ Draft only |
| Reparent elements across boundaries | ❌ No | ✅ Draft only |
| Delete elements | ❌ No | ✅ Draft only |
| Auto-arrange layout | ✅ Yes, not saved | ✅ Draft only (asks first, saved, can't be undone) |

On an **Active** or **Archived** diagram, the Designer shows the banner *This diagram is read-only (Active or Archived). Create a Draft to make changes.* with **Create Draft**: no Toolbox, no Auto-arrange, and no selection. You can still drag a node on screen to help you read, but nothing is saved.

A runtime Dynamic diagram isn't generated from either diagram page: start it from a grouped [Log View][Log Views] ([Inspect Grouped Log Views as Runtime Diagrams][Log Runtime Inspection]) or from an [Integration][Integrations]'s Landscape ([Generate from Integration Landscape][]).

## :fa-code-branch: Lifecycle Matrix - Draft vs Active

Diagram lifecycle controls editing behavior.

| Lifecycle state | Intended use | Editing behavior | Typical actions |
|---|---|---|---|
| **Draft** | Authoring and change iteration | Full editing enabled | Add/move/resize elements, update metadata, adjust connectors, run auto-arrange |
| **Active** | Published reference and operational consumption | Read-only canvas behavior | Navigate, inspect, export, print (from the View page), monitor, analyze runtime behavior |
| **Archived** | Retired diagram kept for reference | Read-only; **Edit** changes only its State | View for historical reference, or set it back to Draft |

Promoting a Draft that was cloned from an Active diagram archives the old Active diagram automatically. To work on an Archived diagram again, open **Edit** and set its State back to **Draft**; nothing else can change while it is Archived.

The [Diagram Lifecycle][] guide covers every lifecycle action in detail.

Guidance:

* Use Draft while building or revising diagrams.
* Promote to Active when the diagram should be consumed as the trusted reference.

## :fa-file-import: Import Support

[Import][] brings existing architecture definitions into a [Diagram Set][What is a C4 Diagram Set] with preview and conflict handling.

### Import workflow

1. Validate source content.
2. Review inferred matches and unresolved items.
3. Apply with conflict resolution choices.
4. Open the resulting diagram in View or Designer mode.

### Import capabilities

| Capability | Support |
|---|---|
| Validation before apply | ✅ Supported |
| Conflict review and resolution | ✅ Supported |
| Entity matching and override options | ✅ Supported |
| Apply into an existing diagram set | ✅ Supported |
| [Message Type][Message Types] resolution from the relationship technology (`protocol / Message Type`) | ✅ Supported |
| Link creation after import | ❌ None needed: :new7.12: navigation is inferred |

## :fa-file-export: Export Support

[Export][Export and Sharing] supports both visual sharing and source-oriented interchange.

A single diagram and a whole [Diagram Set][Diagram Set Fundamentals] offer the same six formats. [Export and Sharing][] is the one home for the format details, endpoints, and embedding options.

| Format | Single diagram | Diagram set |
|---|---|---|
| SVG (`.svg`) | ✅ Yes | ✅ Yes, as a ZIP (diagram picker first) |
| PNG (`.png`) | ✅ Yes | ✅ Yes, as a ZIP (diagram picker first) |
| Mermaid (`.md`) | ✅ Yes | ✅ Yes, as a ZIP |
| Structurizr DSL (`.dsl`) | ✅ Yes | ✅ Yes, as a ZIP (labelled **DSL**) |
| PlantUML (`.puml`) | ✅ Yes | ✅ Yes, as a ZIP |
| Draw.io (`.drawio`) | ✅ Yes | ✅ Yes, as a ZIP |

There is no JSON export. For a whole set, open the set and choose **Export**. **SVGs** and **PNGs** open a picker first: every diagram is ticked, with its State (Active, Draft, Archived); untick the ones to leave out and choose **Export ZIP**. Each diagram is drawn by Mermaid in the browser and saved as `<diagram name>.svg` (or `.png`) in `<set name>-diagrams.zip`. The four markup formats download a ZIP of every diagram at once, without a picker.

![Exporting the Contoso Order Platform Diagram Set as SVGs: the picker lists the two Active diagrams and the Draft, Export ZIP downloads one SVG per diagram, animated walkthrough (7.12)][2]  
*Animated walkthrough: **Export** > **SVGs** on the Contoso Order Platform set. The ZIP holds `Order Platform - Context.svg`, `Order Platform - Containers.svg` and `Order Platform - Containers (next release).svg`; the last frame shows one of them in the browser.*  

Only a diagram's View page has **Print diagram**, at the top of **Print & Export**; the Designer's **Export** has no Print. [Import][] accepts four of these formats as source markup: Mermaid, PlantUML, Structurizr DSL, and Draw.io XML.

## :fa-plug: Web API Reference (User-Facing Families)

The Architecture Diagram APIs in the :Nodinite: [Web API][] are organized into endpoint families. Use the Web API's OpenAPI documentation in your environment for complete request/response contracts.

### Core families

| Endpoint family | Purpose |
|---|---|
| `/api/C4Diagrams` | Diagram CRUD, lifecycle actions, view-mode data, dynamic generation, export, links, tags, metadata |
| `/api/C4DiagramSets` | Diagram set CRUD, set-level operations, batch exports |
| `/api/c4diagrams/import` | Import validation and apply |
| `/api/C4Diagrams/{diagramId}/nodes/{nodeId}/articles` | Node-to-article linking and candidate discovery |

### Common automation scenarios

| Scenario | Typical API path |
|---|---|
| Create and maintain diagrams | `C4Diagrams` + `C4DiagramSets` |
| Promote draft to active | `C4Diagrams` lifecycle endpoints |
| Validate and apply import content | `c4diagrams/import/validate` and `c4diagrams/import/apply` |
| Export single diagrams or full sets | `C4Diagrams` export endpoints and `C4DiagramSets` ZIP export endpoints |
| Add and maintain manual links between diagrams; :new7.12: the sync endpoints are removed | `C4Diagrams` link endpoints |

## :fa-lightbulb: Practical Recommendations

* Use **View mode** for analysis, sharing, and operations-facing usage.
* Use **Designer mode** for controlled authoring in Draft state.
* Use **Import Validate** before Apply to reduce correction cycles.
* Standardize on one export format per audience:
  * SVG for technical documentation
  * PNG for quick sharing
  * Mermaid, Structurizr DSL, PlantUML, or Draw.io for interchange workflows
* Treat **Active** diagrams as the canonical reference for stakeholders.

## :fa-hand-point-right: Next Steps

* :fa-pen-ruler: [C4 Designer Overview][Designer Overview]  
* :fa-file-import: [Import][]  
* :fa-share-nodes: [Export and Sharing][]  

## :fa-link-horizontal: Related Topics

* :fa-diagram-project: [Building a Diagram][]  
* :fa-compass: [Navigating the Canvas][]  
* :fa-keyboard: [Keyboard Shortcuts][Keyboard Shortcuts]  
* :fa-shapes: [Shapes and Toolbox Reference][Shapes and Toolbox]  
* :fa-route: [Navigation Between C4 Diagrams][]  
* :fa-heart-pulse: [Monitoring - Operational Health on Nodes][Monitoring C4]  
* :fa-bolt: [Inspect Grouped Log Views as Runtime Diagrams][Log Runtime Inspection]  
* :fa-plug: [Web API][]  

[1]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/C4/Diagram/C4Diagram_ViewVsDesigner.gif
[2]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/C4/C4DiagramSet_ExportZip.gif

[Architecture Diagrams]:{ndr}/Repository%20Model/C4%20Diagrams/Overview.md
[Building a Diagram]:{ndr}/Repository%20Model/C4%20Diagrams/Designer/Building%20a%20Diagram.md
[Designer Overview]:{ndr}/Repository%20Model/C4%20Diagrams/Designer/Overview.md
[Diagram Lifecycle]:{ndr}/Repository%20Model/C4%20Diagrams/Designer/Diagram%20Lifecycle.md
[Diagram Set Fundamentals]:{ndr}/Repository%20Model/C4%20Diagrams/Features/Diagram%20Set%20Fundamentals.md
[Export and Sharing]:{ndr}/Repository%20Model/C4%20Diagrams/Features/Export%20and%20Sharing.md
[Generate from Integration Landscape]:{ndr}/Repository%20Model/C4%20Diagrams/Features/Generate%20from%20Integration%20Landscape.md
[Import]:{ndr}/Repository%20Model/C4%20Diagrams/Features/Import.md
[Integrations]:{ndr}/Repository%20Model/Integrations/Overview.md
[Keyboard Shortcuts]:{ndr}/Repository%20Model/C4%20Diagrams/Designer/Reference/Keyboard%20Shortcuts.md
[Log Runtime Inspection]:{ndr}/Repository%20Model/C4%20Diagrams/Features/Inspect%20Grouped%20Log%20Views%20as%20Runtime%20Diagrams.md
[Log Views]:{ndr}/Administration/1.%20Log%20Management/1.%20Log%20Views/Features/What%20is%20a%20Log%20View.md
[Message Types]:{ndr}/Repository%20Model/Message%20Types/Overview.md
[Monitoring C4]:{ndr}/Repository%20Model/C4%20Diagrams/Features/Monitoring.md
[Navigating the Canvas]:{ndr}/Repository%20Model/C4%20Diagrams/Designer/Navigating%20the%20Canvas.md
[Navigation Between C4 Diagrams]:{ndr}/Repository%20Model/C4%20Diagrams/Features/Sync.md
[Role-Based Access for C4 Diagram Sets]:{ndr}/Repository%20Model/C4%20Diagrams/Features/Role-Based%20Access%20for%20C4%20Diagram%20Sets.md
[Shapes and Toolbox]:{ndr}/Repository%20Model/C4%20Diagrams/Features/Shapes%20and%20Toolbox.md
[Web API]:{ndr}/Core%20Services/Web%20API/Overview.md
[What is a C4 Diagram Set]:{ndr}/Repository%20Model/C4%20Diagrams/Features/What%20is%20a%20C4%20Diagram%20Set.md