Visualising flows & protocolsDiagram Standard, V1.0

One grammar for every decision diagram

Every flow, topology, and protocol we draw uses the same parts: nodes, edges, states, and layouts. This standard defines them so a diagram from any team reads the same way and maps cleanly back to the product.

01Anatomy

Every diagram is built from four parts

NODEEDGECONTAINERLABEL
NODE
an actor or decision point
EDGE
a flow or relationship
CONTAINER
a team or domain boundary
LABEL
Space Mono, sentence case

No diagram introduces a new shape or a new color outside this vocabulary. If something can't be said with a node, an edge, a container, and a label, it doesn't belong in a DecisionProtocol diagram.

02Nodes

Type by shape, status by fill

A node's shape says what it is; its fill says how it's doing; its size says how much decision load it carries.

Types, shapes
Decision point
Open circle
Person / role
Solid petrol
Team / group
Ringed node
Domain
Dashed container
Status, fill
Open
Awaiting input
Active
In flow · teal
Bottleneck
Overloaded · halo
Resolved
Committed · signal
Size, decision load

Diameter scales with monthly decision volume through the node. Baseline 8px = low load; step to 13 and 20px. Never encode load with color, color is reserved for status.

03Edges

Four relationships, four line styles

Flow
Solid teal, arrow. A decision moving forward.
Dependency
Dashed gray. A blocking or informing link.
Escalation
Solid tangerine, arrow. Pushed up a level.
Handoff
Solid ink, open arrow. Ownership transfers.

Line weight = volume. Thickness carries how many decisions traverse the edge (1.5 / 3 / 5px). Direction always reads left-to-right or top-to-bottom.

04Layouts

Three ways to arrange a graph

Pick the layout by the question you're answering, where authority sits, where work crosses teams, or how flow changes over time.

Topology
Hierarchy · who holds authority
Swimlane
Cross-functional · where work crosses
Timeline
Time-lapse · how flow evolves
05Pattern library

Five decision pathologies, drawn the same way every time

These recurring shapes are named in the product. Standardising how we draw them means anyone can spot one on sight.

Bottleneck
High load, high latency. Many decisions queue at one node.
Shadow hub
High load, low formal authority. Informal power (dashed ring).
Whirlpool
Repeated back-and-forth between two nodes. Unclear ownership.
Boomerang
Escalates out, returns to origin. Unnecessary escalation.
Ladder
Systematic over-escalation through every level regardless of risk.
Rule

A pathology is always drawn in tangerine against otherwise teal/outline flow: the problem is the only thing that gets the signal color.

06Construction rules

Draw it right

Always
  • +Flow reads left-to-right or top-to-bottom
  • +Snap nodes to a consistent column/row rhythm
  • +Include a legend, bottom-left, in Space Mono
  • +Keep ≥ one node-diameter of clear space between nodes
  • +Reserve tangerine for the resolved node or the problem
Never
  • ×More than the four status colors in one graph
  • ×Encode two variables in one channel (e.g. color = load)
  • ×Cross edges when a reroute avoids it
  • ×Gradients, drop shadows, or 3-D on nodes
  • ×New shapes outside the node / edge / container set

Everything sits on a 30px grid. Node centers land on intersections; edges run along grid lines or clean 30°/45° diagonals. Consistent geometry is what makes two diagrams from two teams feel like one system.

07Worked example

A real decision graph, to spec

One topology using the full grammar, types, states, weighted edges, a domain container, a bottleneck, an escalation, and a legend.

Q3 PLATFORM DECISION TOPOLOGY1 BOTTLENECK · 1 ESCALATIONPRODUCT DOMAINCEOVP EngVP SalesVP ProductOpenActiveBottleneckResolvedFlowDependencyEscalation
08Color & glow rules

Signal token mapping, canonical

Every diagram (inline SVG, motif illustration, legend chip, node glyph) must draw only from these tokens. No raw hex, no hsl(…) literals, no gradients, no drop shadows, no 3-D. If a diagram needs a color that isn’t below, it’s wrong.

RoleTokenSVG / CSSSwatch
Node: active--tealfill-teal / stroke-teal
Node: bottleneck--tangerinefill-tangerine
Node: resolved--signalfill-signal
Node: open (outline)--mist / --linefill-none stroke-line / stroke-mist
Node: anchor / root--petrolfill-petrol
Edge: flow--tealstroke-teal, strokeWidth 0.3–1.5
Edge: escalation--tangerinestroke-tangerine, dashed 2 2
Label: on light--foregroundfill-foreground
Label: on petrol--creamfill-cream
Surface: light--creambg-cream, border-line
Surface: deep--petrolbg-petrol, text-cream
Halo, bottleneck

Tangerine ring, not glow

A stalled node gets a concentric outer ring in --tangerine at 30–50% opacity, stroke 0.3–1.5, no feGaussianBlur, no drop shadow. Ring radius = node radius + 1.5–3 units.

Pulse, active

Teal radius animation

An active node may pulse by animating r ±0.5 units at 2s, optionally with a matching teal ring fading 0.5 ↔ 0.2. No blur filter, no color shift, no gradient.

Never, enforced by lint
  • × <linearGradient>, <radialGradient>, stroke="url(#…)", fill="url(#…)"
  • × bg-gradient-to-*, from-*, to-* Tailwind utilities on diagram wrappers
  • × Raw color literals: #rrggbb, hsl(nn nn% nn%), rgb(…), fill="white"
  • × Off-system Tailwind palettes: bg-red-*, text-blue-*, border-green-*, cyan, purple, indigo, amber, emerald, rose, slate, zinc, gray
  • × Emoji or pictograph glyphs (U+2600–U+27BF) as icons. Use decision-graph node glyphs from brand-assets/diagram/ or lucide outlines
  • × <feGaussianBlur> glow filters, drop shadows, 3-D transforms, isometric perspective

Lint script: scripts/lint-diagrams.mjs, runs against src/components/diagrams/, src/pages/Method.tsx, src/pages/Diagrams.tsx, src/components/home/DecisionGraph.tsx.

DecisionProtocolDiagram Standard V1.0 · Signal System · 2026