Headless Canvas Compilation
AI agents often need to inspect canvas layouts or generate architecture snapshots without launching a heavy Chromium browser instance. OpenBoard includes a headless canvas compiler in @openboard/core:
- Evaluates geometric shape bounds and connector bindings entirely in Node.js.
- Produces a semantic hierarchical tree (
inspect_canvas) for LLM reasoning.
Sub-5ms SVG Export Pipeline
The vector exporter translates tldraw shape definitions into clean, standards-compliant SVG XML with embedded CSS styling in under 5 milliseconds.
bash# Export active board to standalone SVG file openboard export <board-id> --output ./docs/architecture.svg