1.5 Portal Incumbent vs RAIA™ Sovereign Model (Comparison)
Specification, workflow, and technical reference for the diagram comparison module.
Embedded directly in the HTML. No JS, no library, no network request. Renders at page load instantly.
Embedded directly in the HTML. No JS, no library, no network request. Renders at page load instantly.
Embedded directly in the HTML. No JS, no library, no network request. Renders at page load instantly.
Embedded directly in the HTML. No JS, no library, no network request. Renders at page load instantly.
Embedded directly in the HTML. No JS, no library, no network request. Renders at page load instantly.
Embedded directly in the HTML. No JS, no library, no network request. Renders at page load instantly.
Embedded directly in the HTML. No JS, no library, no network request. Renders at page load instantly.
Embedded directly in the HTML. No JS, no library, no network request. Renders at page load instantly.
Embedded directly in the HTML. No JS, no library, no network request. Renders at page load instantly.
Embedded directly in the HTML. No JS, no library, no network request. Renders at page load instantly.
Embedded directly in the HTML. No JS, no library, no network request. Renders at page load instantly.
Embedded directly in the HTML. No JS, no library, no network request. Renders at page load instantly.
Embedded directly in the HTML. No JS, no library, no network request. Renders at page load instantly.
Embedded directly in the HTML. No JS, no library, no network request. Renders at page load instantly.
Embedded directly in the HTML. No JS, no library, no network request. Renders at page load instantly.
Embedded directly in the HTML. No JS, no library, no network request. Renders at page load instantly.
Embedded directly in the HTML. No JS, no library, no network request. Renders at page load instantly.
Embedded directly in the HTML. No JS, no library, no network request. Renders at page load instantly.
Embedded directly in the HTML. No JS, no library, no network request. Renders at page load instantly.
Embedded directly in the HTML. No JS, no library, no network request. Renders at page load instantly.
Embedded directly in the HTML. No JS, no library, no network request. Renders at page load instantly.
Embedded directly in the HTML. No JS, no library, no network request. Renders at page load instantly.
Hand-coded vector graphics
Embedded directly in the HTML. No JS, no library, no network request. Renders at page load instantly.
PII justified access flow — inline SVG, zero dependencies
Text-definition diagrams
Write plain text, JS library renders to SVG at load time. Self-hosted (3.3MB JS file on server). No CDN.
Same diagram — Mermaid.js text definition, rendered client-side
Side-by-side verdict
| Criterion | SVG | Mermaid.js |
|---|---|---|
| Tokens to generate | High — AI writes pixel coordinates | Low — AI writes plain text |
| Render speed | Instant — no JS needed | ~50ms — JS renders on load |
| Works offline (Tailscale) | Yes — self-contained | Yes — JS file on our server |
| CDN dependency | None | None (self-hosted) |
| Visual quality | Full control, pixel-perfect | Good, less control over layout |
| Editable by humans | Hard — XML coordinates | Easy — plain text |
| Diagram types | Any (manual coding) | Flow, sequence, Gantt, mindmap, ERD |
| Consistency | Varies by subagent quality | Always consistent output |
| Complex swim lanes | Better control | Supported but less flexible |