Skip to content
Docs

Data flow diagrams

Build levelled data flow diagrams on a canvas with processes, data stores, external entities and flows, check notation and draft one with AI.

A data flow diagram (DFD) shows how data moves between processes, data stores and external entities. It answers "what data goes where" without committing to behaviour or sequencing. Unlike the text-based UML and SysML diagrams, a DFD is drawn directly on an interactive canvas.

Where: sidebar Model → Data flow · /p/<project>/data-flow

Elements

  • Process — a transformation of data, with an optional process number.
  • Data Store — persisted data.
  • External Entity — a source or sink of data outside the system.
  • Data Flow — a labelled arrow between two elements.
  • Trust Boundary — groups elements that share a trust level, for threat-modelling views.

Two notations are available per diagram: Gane-Sarson (processes as rounded rectangles) and Yourdon-DeMarco (processes as circles).

Levels

DFDs are levelled. The Context diagram (Level 0) shows the whole system as a single process with its external entities. Each deeper level decomposes one process from the level above.

To decompose a process, use the drill-in control on its corner: it opens the existing sub-diagram, or creates a new one a level down named after the process. A breadcrumb trail above the canvas shows where you are and takes you back up.

Walkthrough

1. Create a diagram

Open Model → Data flow and click New Diagram. Give it a name, a level, a notation and an optional description. Each diagram gets a code such as DFD-000002; /p/<project>/data-flow?item=DFD-000002 opens it directly. To skip the blank canvas, use Generate with AI instead (below).

2. Add elements

The toolbar has a tool for each element type. Click a tool, then click the canvas to drop the element. For a Data Flow, click the source element, then the target; rename the arrow to say what data it carries.

3. Edit, move and delete

  • Drag an element to move it; drag a handle to resize.
  • Double-click to edit a label inline, or use Edit Selected for the full dialog: label, description, process number and linked requirements.
  • Delete Selected removes the selection; flows touching a deleted element go with it.

4. Check the notation

The Issues button counts notation problems and opens a panel listing them, for example a flow with a missing end, a flow directly between two entities or two stores with no process in between, a process with no input or no output, and an element with no flows at all. Select an issue to find the element.

5. Save and export

Click Save Diagram (or ⌘S) to persist positions, labels and metadata. Export the canvas as a PNG image, an SVG vector or a JSON backup, and use Import JSON to restore a backup.

Canvas shortcuts

KeysAction
⌘ZUndo
⌘⇧Z or ⌘YRedo
Delete or BackspaceDelete the selection
Arrow keysNudge the selection; hold Shift for a larger step
⌘DDuplicate the selection
⌘SSave

Use Ctrl in place of ⌘ on Windows and Linux.

Generate with AI

Click Generate with AI to draft a DFD from the project's existing artifacts.

  1. Optionally set a name, level and notation, and add guidance on what the diagram should emphasise.
  2. Ngenaire reads the project's requirements, ConOps, SOW, risks and trade studies and proposes processes, external entities, data stores and the flows between them.
  3. The draft lands on a fresh canvas, ready to edit, rearrange and save.

If the project has no requirements, ConOps, SOW, risks or trades yet, the generator tells you so rather than returning an empty diagram. Generation uses your AI credits; see Plans and credits.

Tips

  • Keep each diagram readable. When a level has too many processes, decompose into the next level.
  • Label every flow. Unlabelled flows hide assumptions about what data is moving.
  • Clear the Issues panel before review. Notation errors usually point to a missing process or a misunderstood interface.