What problem does it solve?
Produce formal architecture, workflow, and pipeline figures that are deterministic and publication-ready, without relying on non-editable illustrations or manual diagram tweaking.
Core Features & Use Cases
- Deterministic JSON → SVG rendering: the same FigureSpec JSON yields the same editable SVG output for consistent paper figures.
- Publication-quality vector diagrams: create architecture, workflow pipelines, audit cascades, and system topology with clean typography and layouts.
- Schema validation and guardrails: validated renderer behavior helps catch malformed specs early with clear error messages.
- CJK-friendly labels: multi-line Chinese labels render with proper width estimation for readability.
Quick Start
Use the command python3 tools/figure_renderer.py render /path/to/spec.json --output figures/diagram.svg to turn your FigureSpec JSON into an editable SVG you can directly include in documentation.