You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature]: Bound individual edge detours in cross-hierarchy crossing minimization #72
The layout-quality work (#48/#60) accepts cross-hierarchy reordering proposals based on aggregate route quality, mostly crossings. This can push a large detour onto a single edge. In the GeneralViewUp benchmark scene, the overall crossings drop from 22 to 12, but Battery -> Mass grows from a 120 px straight run to a 675 px loop that enters Mass from the side.
Proposed Solution
Make the acceptance criterion consider per-edge route length or detour as well, for example a multi-objective score or a hard bound such as no edge growing by more than about 2x plus a constant unless the crossing gain is large. Alternatively, re-route the worst edge after reordering. A naive per-edge guard was tried and pushed fixed-order crossings from 12 back up to 19 and broke the zero-crossing cases in the Repro3 scene, so a smarter approach is needed.
Benefits
The crossing reduction is kept without single-edge regressions.
Activity