Skip to main content

Format & Import Mapping

Tracking docs for the Grida IR schema and how external formats map into it.

Pages

PageDescription
Grida IRCanonical IR reference — node types, paint, layout
CSSCSS → Grida IR property mapping and TODO tracker
HTMLHTML element → Grida IR node mapping
SVGSVG → usvg → Grida IR mapping and TODO tracker

How to use these docs

  • Status key: ✅ mapped | ⚠️ partial | 🔧 IR exists, not wired | ❌ IR missing | 🚫 out of scope
  • Each page tracks what is implemented, what is partially done, and what is blocked by missing IR fields.
  • The IR Gaps section in each page identifies schema changes that would unblock further progress.
  • For the on-disk .grida file format (FlatBuffers schema), see format/grida.fbs.
  • FlatBuffers schema: format/grida.fbs — the canonical on-disk file format
  • Rust runtime model: crates/grida-canvas/src/node/schema.rs
  • TypeScript model: packages/grida-canvas-schema/grida.ts
  • HTML import pipeline: crates/grida-canvas/src/html/
  • SVG import pipeline: crates/grida-canvas/src/svg/