Record bounded placement clearance result and preserved quality regressions

This commit is contained in:
2026-09-24 20:57:17 -07:00
parent 074051261a
commit ae9dad54b7
11 changed files with 1330 additions and 2 deletions
@@ -163,8 +163,9 @@ pub fn repair(project: &Project, diagram: Id) -> Result<Project, ModelError> {
{
return Err(fail("reprojection changed node identity/size/topology"));
}
// Charge a conservative endpoint-pair/obstacle allowance before the
// diagnostic: at most four cardinal candidates at each endpoint.
// Charge work units proportional to node count and at most sixteen
// endpoint pairs. This is not an exact operation count or a bound on
// all projection work; graph, round and span limits apply separately.
spend(
&mut work,
view.edges