Quadrant
Adds a generic 4-quadrant template to the canvas.
Quadrant — Drawdy Extension
Adds a 4-quadrant diagram template to drawdy.io via right-click context menu.

What it does
Right-click canvas → Add quadrant → inserts a labeled 2×2 grid centered on the viewport:
- 4 colored rectangles (top-left pink, top-right blue, bottom-left green, bottom-right yellow)
- 4 axis arrows radiating from center
- Axis labels: Top, Bottom, Left, Right
- Respects current theme foreground color
- All elements grouped
Dev
bun install
bun run dev # watch + bundle
bun run build # production bundle → dist/
bun run typecheck
Install in drawdy.io
bun run build→ producesdist/drawdy-extension.zip- drawdy.io → Extensions → Load from file → select the zip
Structure
src/
index.ts # activate + onEvent lifecycle
quadrant.ts # element builder
types.ts # Context, QuadrantIds
constants.ts # colors, sizing
manifest.json # driverId, permissions