Fix attachment overshoot and semantic trace port geometry

This commit is contained in:
2026-09-22 18:13:07 -07:00
parent 79cc9d5551
commit 3aa80de89c
11 changed files with 348 additions and 18 deletions
+4 -1
View File
@@ -643,7 +643,10 @@ pub fn validate(p: &Project) -> Vec<Issue> {
}
let mut routed_edges = BTreeSet::new();
for (index, route) in d.routes.iter().enumerate() {
for attachment in [route.source_attachment, route.target_attachment].into_iter().flatten() {
for attachment in [route.source_attachment, route.target_attachment]
.into_iter()
.flatten()
{
if !attachment.offset.is_finite() || !(0.0..=1.0).contains(&attachment.offset) {
error(
&mut out,