Skip to content

Release graph-aware layout and pixel-safe SVG rendering - #23

Merged
konojunya merged 3 commits into
mainfrom
agent/graph-aware-layout
Sep 6, 2026
Merged

Release graph-aware layout and pixel-safe SVG rendering#23
konojunya merged 3 commits into
mainfrom
agent/graph-aware-layout

Conversation

@konojunya

Copy link
Copy Markdown
Member

Background

Diagrams need clear typography, connectors that avoid labels and borders, and coherent overall composition. The previous millipixel SVG coordinate space also triggered browser font clamping and shape artifacts.

Implementation Approach

  • Graph-aware scope ranking and bounded label-aware orthogonal routing.
  • Finite frame clearance, normal node ports, measured scene-owned labels, and stroke-aware spacing for wider catalogs.
  • Exact CSS pixel SVG serialization without changing internal integer geometry or icon-local coordinates.
  • Bundle published stack-theme 0.6.0 with rounded database cards; prepare Engine 0.8.0.
  • Independent final-SVG quality gates and visually approved snapshots; preserve packaged-crate unit test usability.

Testing Approach

  • CI-equivalent all-feature library coverage: lines 98.018%, functions 96.452%, regions 95.049%; unchanged 95% thresholds.
  • Stable and Rust 1.85 tests/Clippy, rustdoc, publication guards, package validation; packaged crate alone passes 140 unit tests.
  • Native/WASM parity including 60 labelled DAGs; 14 Node tests, typecheck, package and import validation.
  • Seven reviewed examples with zero text/edge/frame violations and zero approved/current snapshot differences.
  • Release performance budgets pass; GitHub CI additionally verifies WASI parity.
  • Independent Astra review found and prompted regressions for paint-order/visibility false greens, packaged test boundaries, and wide-stroke labelled rendering.

Review Perspectives / Points of Concern

Public operations and language-intelligence contracts remain unchanged. SVG bytes/layout intentionally change. No external runtime capabilities or palette-authoring feature is added. Finite routing heuristics do not prove feasible placement for every graph; exact raster glyphs and arrowheads remain outside the geometry checker.

@konojunya
konojunya merged commit 996ca0f into main Sep 6, 2026
2 checks passed
@konojunya
konojunya deleted the agent/graph-aware-layout branch September 6, 2026 02:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant