Significant reduction in crossings/overlaps on sample projects.
Deterministic output remains stable for same JSON.
Metrics surfaced in compile response and UI status summary.
## Problem
Current rendered schematics still produce visually dense routes, avoidable overlaps, and long detours in medium-size analog graphs.
## Goal
Implement a production-quality routing/layout pass that prioritizes readability over geometric shortest path.
## Scope
- Add stronger no-go penalties for crossing occupied channels and component-adjacent lanes.
- Improve horizontal/vertical channel assignment and elbow spacing consistency.
- Enforce minimum parallel-wire spacing and pin label clearance.
- Expand label-tie fallback policy when explicit routing exceeds crossing/overlap budget.
- Add deterministic route quality scoring (crossings, overlap_edges, total_bends, detour_ratio).
## Acceptance Criteria
- Zero component-through routes.
- Significant reduction in crossings/overlaps on sample projects.
- Deterministic output remains stable for same JSON.
- Metrics surfaced in compile response and UI status summary.
Rbanh
added this to the Phase 2 - Production Polish milestone 2026-02-16 21:47:19 -05:00
Routing readability increment delivered in main via commit f65e4d9.
Delivered:
Expanded label-tie routing heuristics in schematic mode:
auto tie-net mode for dense multi-node nets (>=5 nodes)
auto tie-net mode for long-distributed analog/signal nets (>=3 nodes with large span)
Added layout_metrics.label_tie_routes to expose how many nets were rendered in tie/stub mode.
Updated compile status text in UI to include tie-net count for immediate routing-quality visibility.
Extended compile tests to assert label_tie_routes contract field.
Result: cleaner default routing for dense graphs with deterministic fallback toward readable net-stub wiring.
Routing readability increment delivered in `main` via commit `f65e4d9`.
Delivered:
- Expanded label-tie routing heuristics in schematic mode:
- auto tie-net mode for dense multi-node nets (`>=5` nodes)
- auto tie-net mode for long-distributed analog/signal nets (`>=3` nodes with large span)
- Added `layout_metrics.label_tie_routes` to expose how many nets were rendered in tie/stub mode.
- Updated compile status text in UI to include tie-net count for immediate routing-quality visibility.
- Extended compile tests to assert `label_tie_routes` contract field.
Result: cleaner default routing for dense graphs with deterministic fallback toward readable net-stub wiring.
Routing heuristics upgraded with stronger tie-net fallback and route-quality metrics.
Compile/UI now expose crossings, overlaps, bends, detour, and tie-net counts.
Deterministic routing behavior preserved and covered by tests.
Latest related commits include f65e4d9 and prior routing quality slices.
Final closure summary:
- Routing heuristics upgraded with stronger tie-net fallback and route-quality metrics.
- Compile/UI now expose crossings, overlaps, bends, detour, and tie-net counts.
- Deterministic routing behavior preserved and covered by tests.
Latest related commits include `f65e4d9` and prior routing quality slices.
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.
Problem
Current rendered schematics still produce visually dense routes, avoidable overlaps, and long detours in medium-size analog graphs.
Goal
Implement a production-quality routing/layout pass that prioritizes readability over geometric shortest path.
Scope
Acceptance Criteria
Implemented first production-polish slice for routing quality in commit
6c5431a.Shipped
label_tiewhen branch/global route quality degrades (detour/bend thresholds).total_bendstotal_lengthdirect_lengthdetour_ratiolabel_tie_fallbacksNotes
Remaining for Issue #1
Routing readability increment delivered in
mainvia commitf65e4d9.Delivered:
>=5nodes)>=3nodes with large span)layout_metrics.label_tie_routesto expose how many nets were rendered in tie/stub mode.label_tie_routescontract field.Result: cleaner default routing for dense graphs with deterministic fallback toward readable net-stub wiring.
Final closure summary:
Latest related commits include
f65e4d9and prior routing quality slices.