Skip to content
Docs

Diagrams (UML and SysML)

Author UML, SysML and architecture diagrams as Mermaid or PlantUML source with a live preview, draft them with AI and link them to requirements and the ConOps.

Every diagram in Ngenaire is text: you write Mermaid or PlantUML source, see it render in a live preview, and link the diagram to the ConOps it illustrates and the requirements it realises. Because the source is text, diagrams diff cleanly, review easily and are simple for the co-engineer to draft.

Where: sidebar Model → Diagrams · /p/<project>/diagrams

Diagram types

When you create a diagram you pick a Diagram Type from one grouped list.

UML

  • Use Case — actors and their goals.
  • Sequence — ordered messages between participants over time.
  • Activity — workflow with branches, forks and joins.
  • State Machine — modal behaviour of a single object.
  • Communication — objects with numbered messages.
  • Interaction Overview — high-level flow linking interaction fragments.
  • Timing — state changes against a time axis.
  • Composite Structure — internal structure of a classifier.
  • Deployment — artifacts deployed onto physical nodes.
  • Package, Profile, Class, Object and Component — structure, extensions, types, instances and interfaces.

A ConOps Support type is also available for diagrams that illustrate a concept-of-operations narrative.

SysML

Block Definition (BDD), Internal Block (IBD), Use Case, Sequence, Activity, State Machine, Requirement, Parametric and Package.

Architecture

  • Context Diagram — the system as a whole against the external actors, systems and environment it interacts with. Authored like any other diagram here.
  • Data Flow Diagram — listed for completeness; DFDs have their own canvas editor. See Data flow diagrams.

Create a diagram

  1. Open Model → Diagrams and create a diagram, or press ⌘K and run New diagram.
  2. Enter a Title and an optional Description, and choose a Diagram Type.
  3. Optionally set a ConOps Link to tie the diagram to a ConOps document.
  4. Optionally pick Flow-down Requirements — the requirements this diagram allocates or realises.

Each diagram gets a code such as DGM-000012; /p/<project>/diagrams?item=DGM-000012 opens it directly.

Edit the source

The editor is a split view: metadata and the Source field on one side, a live Preview on the other.

  1. Choose Mermaid or PlantUML and type or paste the source.
  2. The preview re-renders as you edit.
  3. Click Save. Reopen any diagram from the list to update it, or delete one you no longer need.

Validation

Source is validated so malformed diagrams are caught early. If the source can't be rendered, the preview shows the error and explains that the raw source can still be saved while you fix it.

Generate with AI

Ask the co-engineer to draft a diagram from a description and it returns ready-to-edit source, or saves the diagram for you if you ask it to.

Generate a sequence diagram for the user authentication flow in CONOPS section 3.

Create a SysML BDD for the avionics subsystem with flight control, navigation and telemetry sub-blocks.

Draft a context diagram showing our system and every external actor it exchanges data with.

Treat AI output as a starting draft; review and refine the source before you rely on it.

Tips

  • Pick the smallest type that conveys the idea. A use case is often clearer than a class diagram for early scoping.
  • Link as you draw. Setting flow-down requirements while authoring avoids a reconciliation pass later.
  • Start with the context diagram. Fixing the system boundary first makes every later diagram easier to scope.