stack— auto-replicate a part N times vertically. Models HA pods, server racks, sharded databases.annotation— screen-space text box pinned to a part via a thin leader line. For latency callouts, ownership notes, etc.
.d2 path doesn’t have an equivalent yet).
Three replicas of one pod
Take a single pod and stamp it N times:pod; the upper two get suffixed
ids pod~1 and pod~2. Connectors and annotations can target a
specific layer:
A callout pinned to the top pod
Add a document-levelannotations: block:
\n.
Sides: top | right | bottom | left. Default distance is 60
world units; set distance: 80 for more breathing room.
Iso ground grid (already shown in step 03 indirectly)
For the floor plan look, add acanvas: block:
grid: iso paints a dashed diamond rhombus pattern that aligns with
the iso projection — the scene now floats on a ground plane. Other
options: dots, hatch, solid, none.
Putting it all together
Next step
→05-publishing.md — drop the SVG into docs,
slides, or LLM context.