Unified text compositor pass with collision classes and priority tiers.
Reserve fixed zones for legend + annotations.
Enforce min separation for pin labels around dense symbols.
Ensure orphan/floating labels cannot be rendered without visible anchor context.
Acceptance:
No overlapping pin/net labels in baseline fixtures.
Legend and annotation blocks never overlap schematic content.
Bus/net labels stay near relevant trunks/junctions.
Scope:
- Unified text compositor pass with collision classes and priority tiers.
- Reserve fixed zones for legend + annotations.
- Enforce min separation for pin labels around dense symbols.
- Ensure orphan/floating labels cannot be rendered without visible anchor context.
Acceptance:
- No overlapping pin/net labels in baseline fixtures.
- Legend and annotation blocks never overlap schematic content.
- Bus/net labels stay near relevant trunks/junctions.
Rbanh
added this to the Phase 9 - Layout & Readability Production Hardening milestone 2026-02-19 23:28:20 -05:00
Added per-side pin label spacing resolver to reduce local pin text collisions.
Added separate per-side net-label spacing pass for per-pin net labels.
Moved annotation text into a dedicated annotation panel layer.
Legend now repositions below annotation panel.
Expanded blocked regions so net label placement avoids annotation/legend zones.
Validation:
npm test passing
npm run test:ui passing (baselines updated)
Progress push `cc20c0c` landed.
Renderer improvements:
- Added per-side pin label spacing resolver to reduce local pin text collisions.
- Added separate per-side net-label spacing pass for per-pin net labels.
- Moved annotation text into a dedicated annotation panel layer.
- Legend now repositions below annotation panel.
- Expanded blocked regions so net label placement avoids annotation/legend zones.
Validation:
- `npm test` passing
- `npm run test:ui` passing (baselines updated)
Net labels now include route-centered candidate anchors (representativePoint) before pin-anchor fallback.
Reduces 'floating label' artifacts where labels appeared detached from visible routed segments.
Regression status remains green (npm test, npm run test:ui).
Follow-up readability patch `f0b952e`:
- Net labels now include route-centered candidate anchors (`representativePoint`) before pin-anchor fallback.
- Reduces 'floating label' artifacts where labels appeared detached from visible routed segments.
Regression status remains green (`npm test`, `npm run test:ui`).
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Scope:
Acceptance:
Progress push
cc20c0clanded.Renderer improvements:
Validation:
npm testpassingnpm run test:uipassing (baselines updated)Follow-up readability patch
f0b952e:representativePoint) before pin-anchor fallback.Regression status remains green (
npm test,npm run test:ui).Completed by
1a9c7b5+ prior label-placement commits (cc20c0c,f0b952e).Delivered:
Validation:
npm testnpm run test:uiMarking done against acceptance criteria for non-overlapping baseline text layers.