Excalidraw Convention

This file is the single authoring source for the Excalidraw styling convention used across all diagrams in this project. Any script that generates .excalidraw files or inline SVG diagrams must follow these rules.

Excalidraw Files (.excalidraw)

HTML SVG Rendering

When rendering Excalidraw-style diagrams as inline SVG in HTML pages:

<filter id="sketchy" x="-2%" y="-2%" width="104%" height="104%">
  <feTurbulence type="turbulence" baseFrequency="0.03" numOctaves="3" seed="2" result="noise"/>
  <feDisplacementMap in="SourceGraphic" in2="noise" scale="1.5" xChannelSelector="R" yChannelSelector="G"/>
</filter>

Rationale

Handwritten text is hard to read at small sizes and clashes with information-dense layouts like the skill map. Sketchy borders preserve the Excalidraw hand-drawn aesthetic without sacrificing text legibility.

Reference Implementation

scripts/generate-skillmap-excalidraw.mjs is the canonical implementation of this convention. See its makeRect, makeText, and HTML SVG generation for working examples.