From e3790eb3663fdb052f3a4fd47c87749ce3981199 Mon Sep 17 00:00:00 2001 From: Ellen Emilia Anna Zscheile Date: Mon, 30 Jun 2025 15:09:26 +0200 Subject: [PATCH] fix(router/ng/eval): Flip alignment of outer edges This makes it possible to route some paths, altho it looks really wrong on first glace. I don't yet know exactly what's going on. --- src/router/ng/eval.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/router/ng/eval.rs b/src/router/ng/eval.rs index e71daf8..882e332 100644 --- a/src/router/ng/eval.rs +++ b/src/router/ng/eval.rs @@ -191,8 +191,8 @@ impl AstarContext { } alignment } - (Some(_), None) => Alignment::Left, - (None, Some(_)) => Alignment::Right, + (Some(_), None) => Alignment::Right, + (None, Some(_)) => Alignment::Left, // this should only happen when one end-point is primal, handled above (None, None) => unreachable!(), };