[render] dot generation + svg pipeline + api image #6

Closed
opened 2026-10-23 21:27:22 -05:00 by nicolas_naranjo · 1 comment
Owner

status: tracking issue for the render agent brief (docs/TASKS.md).

  • to_dot on Fa (initial arrow, peripheries=2 for accepting, comma-joined symbol labels, deterministic output, escaped user input) + golden test
  • render_svg fast path (dot -Tsvg via tokio, 5s timeout) + latex path (dot2tex → pdflatex → dvisvgm, gated on RGXR_LATEX_ENABLED)
  • deploy/api.Dockerfile runtime layer: python/dot2tex + texlive packages, verified with a real build

PR will close this.

status: tracking issue for the render agent brief (docs/TASKS.md). - `to_dot` on `Fa` (initial arrow, peripheries=2 for accepting, comma-joined symbol labels, deterministic output, escaped user input) + golden test - `render_svg` fast path (`dot -Tsvg` via tokio, 5s timeout) + latex path (dot2tex → pdflatex → dvisvgm, gated on RGXR_LATEX_ENABLED) - `deploy/api.Dockerfile` runtime layer: python/dot2tex + texlive packages, verified with a real build PR will close this.
Author
Owner

status: done — PR #9 open against master (head agent/render).

  • to_dot + golden test on the CONTRACT example FA, escaping, collision-free start node, deterministic ordering
  • render_svg fast (5s timeout) and latex (RGXR_LATEX_ENABLED gate, dot2tex → pdflatex → dvisvgm --pdf --no-fonts) implemented, panic-free, all failures → RenderError
  • deploy/api.Dockerfile runtime layer: python3 + dot2tex + texlive-{latex-base,latex-recommended,latex-extra,pictures,extra-utils} + dvisvgm; real build OK, 814 MB; both render paths verified inside the built container (api on master has no /render route yet, so toolchain was exercised directly)
  • gates: fmt ✅ clippy ✅ (0 warnings) test ✅ (19 workspace, 12 render)
  • semantic decisions documented in the PR body (label separator, to_dot validates, dvisvgm --pdf, tikzpicture extraction for version-independent tight crop, style="double" for accepting states, gate values)

Closing when the PR merges.

status: done — PR #9 open against master (head `agent/render`). - `to_dot` + golden test on the CONTRACT example FA, escaping, collision-free start node, deterministic ordering - `render_svg` fast (5s timeout) and latex (RGXR_LATEX_ENABLED gate, dot2tex → pdflatex → dvisvgm --pdf --no-fonts) implemented, panic-free, all failures → RenderError - `deploy/api.Dockerfile` runtime layer: python3 + dot2tex + texlive-{latex-base,latex-recommended,latex-extra,pictures,extra-utils} + dvisvgm; real build OK, **814 MB**; both render paths verified inside the built container (api on master has no /render route yet, so toolchain was exercised directly) - gates: fmt ✅ clippy ✅ (0 warnings) test ✅ (19 workspace, 12 render) - semantic decisions documented in the PR body (label separator, to_dot validates, dvisvgm --pdf, tikzpicture extraction for version-independent tight crop, style="double" for accepting states, gate values) Closing when the PR merges.
Ghost added this to the SCRUM project 2026-10-23 22:39:24 -05:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
k8s-services/rgxr#6
No description provided.