- 6 minutes to read

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.

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

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)
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 View mode 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 (Inspect Grouped Log Views as Runtime Diagrams) or from an Integration's Landscape (Generate from Integration Landscape).

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.

Import Support

Import brings existing architecture definitions into a 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 resolution from the relationship technology (protocol / Message Type) ✅ Supported
Link creation after import ❌ None needed: New 7.12 navigation is inferred

Export Support

Export supports both visual sharing and source-oriented interchange.

A single diagram and a whole Diagram Set 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)
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.

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; New 7.12 the sync endpoints are removed C4Diagrams link endpoints

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.

Next Steps