AAA-04: Routing engine v3 with channel routing, junction semantics, and smart net stubs #18

Closed
opened 2026-02-18 21:51:16 -05:00 by Rbanh · 1 comment
Owner

Objective

Eliminate spaghetti wiring by enforcing clean orthogonal routing and explicit junction semantics.

Scope

  • Implement channel/track assignment with crossing minimization.
  • Prefer bus trunk + branch routing for related nets (e.g., I2S groups).
  • Add net-stub fallback policy when overlap pressure exceeds thresholds.
  • Support explicit junction nodes and enforce overlap only at junctions/user-intent edits.

Acceptance Criteria

  • Auto-routed diagrams avoid wire-over-wire overlap except explicit junctions.
  • Parallel wire spacing and elbow spacing are consistent.
  • Routing quality metrics (crossings/overlaps/detour) improve on regression fixtures.
  • Tie-net and explicit-wire modes remain predictable and user-controllable.
## Objective Eliminate spaghetti wiring by enforcing clean orthogonal routing and explicit junction semantics. ## Scope - Implement channel/track assignment with crossing minimization. - Prefer bus trunk + branch routing for related nets (e.g., I2S groups). - Add net-stub fallback policy when overlap pressure exceeds thresholds. - Support explicit junction nodes and enforce overlap only at junctions/user-intent edits. ## Acceptance Criteria - Auto-routed diagrams avoid wire-over-wire overlap except explicit junctions. - Parallel wire spacing and elbow spacing are consistent. - Routing quality metrics (crossings/overlaps/detour) improve on regression fixtures. - Tie-net and explicit-wire modes remain predictable and user-controllable.
Rbanh added this to the Phase 4 - AAA SaaS Productization and UX Polish milestone 2026-02-18 21:51:31 -05:00
Author
Owner

Completed in commit 2bda088.

Delivered:

  • Increased routing channel spacing pressure (MIN_CHANNEL_SPACING_STEPS) to better separate parallel tracks.
  • Added deterministic quality-policy fallback to tie-net mode when routed quality is poor (high detour/high bend patterns on dense nets).
  • Improved explicit-mode behavior for bus-member nets so high-span or multi-node bus cases can use clean tie representation.
  • Preserved deterministic routing output and existing render-mode controls.
  • Updated visual baselines for changed routed scenes.

Validation:

  • node --check src/layout.js
  • npm test
  • npm run test:ui:update-baselines
  • npm run test:ui
Completed in commit `2bda088`. Delivered: - Increased routing channel spacing pressure (`MIN_CHANNEL_SPACING_STEPS`) to better separate parallel tracks. - Added deterministic quality-policy fallback to tie-net mode when routed quality is poor (high detour/high bend patterns on dense nets). - Improved explicit-mode behavior for bus-member nets so high-span or multi-node bus cases can use clean tie representation. - Preserved deterministic routing output and existing render-mode controls. - Updated visual baselines for changed routed scenes. Validation: - `node --check src/layout.js` - `npm test` - `npm run test:ui:update-baselines` - `npm run test:ui`
Rbanh closed this issue 2026-02-18 22:05:41 -05:00
Sign in to join this conversation.
No Label
No project
No Assignees
1 Participants
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: Rbanh/schemeta#18
No description provided.