The idea here is tht we can modify the existing about=graphviz-plugin to accept **pre-registering** your data-URI images with the JS wrapper and then reference them from DOT.
# Notes: * The API explicitly supports an `images` array (with `path`, `width`, `height`). Data URIs count as “full URLs”. * For SVG images Graphviz likes explicit `width`/`height` on the `<svg>` element and/or in the options you pass. * Use `fixedsize=true` + `imagescale=true` so nodes stay the icon size you expect.
Here’s a link to some chatgpt-sketched minimal plugin changes for images table + data-URI SVGs: - Modify Graphviz Code
# Key points - Each mini-SVG **must have `width` and `height`** (use `pt`/`px`) so Graphviz sizes it correctly. - Use **utf8 data-URIs** (`encodeURIComponent`) rather than base64; smaller and cleaner. - The string in `image="..."` must exactly match the `path` field you register in `images`. - Cache the data-URIs per page to avoid re-encoding every render. - If you need PNG output later, render `-Tsvg` first, then convert (Graphviz-in-WASM may not rasterize embedded SVGs reliably).