Skip to main content

Visual Lab

The visual lab is for making complex systems understandable.

Supported Visualization Modes

ModeBest UseStorage
MermaidFast flows, state machines, sequence diagrams, dependency mapsMarkdown code blocks
ExcalidrawSketch-first architecture thinking and rough topologyExport PNG/SVG into src/assets
Polished SVG / PNGPortfolio-grade architecture referencessrc/assets with nearby explanation
TablesTradeoffs, comparisons, capacity planning, decision matricesMarkdown tables
Decision recordsConstraints, alternatives, consequences, failure modesDedicated Markdown page

Mermaid Example

flowchart TD
idea[Idea] --> sketch[Excalidraw Sketch]
sketch --> design[Architecture Decision]
design --> build[Implementation Notes]
build --> review[Failure Analysis]
review --> reference[Searchable Reference]

Diagram Workflow

  1. Sketch rough architecture in Excalidraw.
  2. Convert stable flows into Mermaid or SVG.
  3. Store exported assets in src/assets.
  4. Explain design tradeoffs beside the diagram.

Excalidraw Standard

Excalidraw sketches should keep the messy thinking visible while still being readable. Use them for early topology, network segmentation, service boundaries, incident maps, and interview-style architecture explanation.

When a sketch becomes stable, export it and add:

  • A short caption explaining the system boundary.
  • A list of assumptions and constraints.
  • Links to related implementation notes.
  • A follow-up Mermaid or polished diagram if the design needs precision.

Architecture Decision Template

## Context

What problem or constraint forced this decision?

## Options

What alternatives were considered?

## Decision

What was chosen and why?

## Consequences

What improves, what gets worse, and what needs monitoring?