Filters
How to search
  • Plain words find names, texts and examples.
  • "two words" finds the exact phrase.
  • --name or -x finds an option.
  • #word looks only inside commands.
  • @grep finds lessons and labs that use grep.
  • Filters: cat:network · in:labs · in:notes · level:rhcsa · ch:8 · root:yes. Put ! before a word to leave it out. OR between words means one of them.
  • ↑ ↓ to move · Enter to open · Esc to close · / to search

Documentation & knowledgeMixed 22 series

Five rules for diagrams that survive

A diagram is read before the document it sits in, and often instead of it.

Quick reference

  1. One message per diagram. If the caption needs two sentences, split the canvas.
  2. Label every arrow with a verb: calls, reads, publishes, retries.
  3. One shape per kind of thing, and a legend that names each shape.
  4. One level of abstraction: no database beside a business unit.
  5. Date it and name the owner; an undated diagram is a rumour.

Explained

Five rules keep it honest.

One message per diagram. If you cannot write the caption in one sentence, the canvas is holding two ideas and the reader will merge them wrongly.

Label the arrows. Calls, reads, publishes, retries. An unlabelled line is a guess, and the guess is usually the wrong direction.

One shape per kind of thing, with a legend that names each shape. A box that means a service here and a team there is a trap.

One level of abstraction. A database drawn beside a business unit is a picture nobody can review.

Date it and name the owner. A diagram without a date is a rumour with arrows.

The honest caveat: these rules make a diagram reviewable, not correct. Somebody who knows the system still has to read it.

The lesson: one message, labelled arrows, one level, a date and a name.

Your turn: Which rule does your architecture diagram break first?

More notes: Documentation & knowledge

Open in the notes app: search, filters, copy This note on GitHub