graph render viewer (0026 iteration 2) — blocked on input-port naming #51

Closed
opened 2026-06-10 13:31:42 +02:00 by Brummel · 1 comment
Owner

Iteration 2 of the graph render redesign (spec docs/specs/0026-graph-render-redesign.md):
port the prototype's viewer JS (genDot + drill / inline-expand / styled tooltips), vendor
the WASM-Graphviz asset, add render_html for the self-contained page, wire aura graph
to emit it, and retire ascii-dag + the old render goldens.

PAUSED at the iteration-1/2 boundary by user decision. The viewer's input-pin labeling
depends on whether input ports get names (the new input-port-naming cycle). Resuming
before that lands would either invent input names (forbidden) or ship positional-only
leaf inputs the naming cycle would immediately rework.

Iteration 1 (the read-only model serializer model_to_json) shipped: commit 288f589,
plan docs/plans/0026-graph-model-serializer.md.

depends on: input-port naming (PortSpec.name).
context: resume once input ports are named.

Iteration 2 of the graph render redesign (spec docs/specs/0026-graph-render-redesign.md): port the prototype's viewer JS (genDot + drill / inline-expand / styled tooltips), vendor the WASM-Graphviz asset, add `render_html` for the self-contained page, wire `aura graph` to emit it, and retire `ascii-dag` + the old render goldens. PAUSED at the iteration-1/2 boundary by user decision. The viewer's input-pin labeling depends on whether input ports get names (the new input-port-naming cycle). Resuming before that lands would either invent input names (forbidden) or ship positional-only leaf inputs the naming cycle would immediately rework. Iteration 1 (the read-only model serializer `model_to_json`) shipped: commit 288f589, plan docs/plans/0026-graph-model-serializer.md. depends on: input-port naming (PortSpec.name). context: resume once input ports are named.
Brummel added the feature label 2026-06-10 13:31:42 +02:00
Author
Owner

Audit note (cycle 0027): when this retires ascii-dag, also drop the now-stale #43 fallback in graph.rs multi_output_field_name (~:324) — its comment claims leaf field names are unavailable pre-build, false since #43 (cycle 0024) made signature() live pre-build. The leaf branch falls back to the field index; with the file deleted here the dead fallback goes away with it (no separate cleanup needed). Surfaced by the 0027 architect drift review.

Audit note (cycle 0027): when this retires ascii-dag, also drop the now-stale #43 fallback in graph.rs multi_output_field_name (~:324) — its comment claims leaf field names are unavailable pre-build, false since #43 (cycle 0024) made signature() live pre-build. The leaf branch falls back to the field index; with the file deleted here the dead fallback goes away with it (no separate cleanup needed). Surfaced by the 0027 architect drift review.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Brummel/Aura#51