Add passive-circuit rank fallback to prevent one-column collapse #34

Closed
opened 2026-02-19 18:25:22 -05:00 by Rbanh · 1 comment
Owner

Problem:
Passive-heavy circuits (few/no output->input directed edges) collapse into a narrow vertical stack, reducing readability.

Scope:

  • Add undirected connectivity-based fallback ranking when directed rank entropy is too low.
  • Seed fallback from likely sources (power, MCU/processor) or highest-degree node.
  • Blend fallback rank with directed rank to preserve flow where available.

Acceptance:

  • Dense analog fixture no longer defaults to single-column collapse.
  • Existing sample still compiles deterministically.
Problem: Passive-heavy circuits (few/no output->input directed edges) collapse into a narrow vertical stack, reducing readability. Scope: - Add undirected connectivity-based fallback ranking when directed rank entropy is too low. - Seed fallback from likely sources (power, MCU/processor) or highest-degree node. - Blend fallback rank with directed rank to preserve flow where available. Acceptance: - Dense analog fixture no longer defaults to single-column collapse. - Existing sample still compiles deterministically.
Rbanh added this to the Phase 7 - Layout Engine Quality Pass milestone 2026-02-19 18:25:40 -05:00
Author
Owner

Implemented in cd007ba.

Delivered:

  • Added undirected connectivity fallback ranking when directed edge signal is weak.
  • Added source seeding heuristics (power/output/source categories) with degree fallback.
  • Blended fallback and directed ranks to preserve directional flow where available.

Validation:

  • Dense analog fixture no longer collapses into a single vertical stack in baseline output.
  • Full tests pass (npm run test:ui, npm test).
Implemented in `cd007ba`. Delivered: - Added undirected connectivity fallback ranking when directed edge signal is weak. - Added source seeding heuristics (power/output/source categories) with degree fallback. - Blended fallback and directed ranks to preserve directional flow where available. Validation: - Dense analog fixture no longer collapses into a single vertical stack in baseline output. - Full tests pass (`npm run test:ui`, `npm test`).
Rbanh closed this issue 2026-02-19 18:34:07 -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#34
No description provided.