feat: 完善一级关系编辑 UI 与视图体验

This commit is contained in:
2026-08-06 18:15:14 +08:00
parent 57d75541c3
commit eef9efcc1e
29 changed files with 3907 additions and 178 deletions
+2
View File
@@ -136,6 +136,8 @@ def main() -> int:
anchor_mode=args.anchor,
strategy_mode=args.strategy,
)
if "First-level topology check" not in result:
raise SystemExit(f"Edge length result should include first-level topology check: {result}")
after = model.stats()
lengths = [_edge_length(model, item) for item in range(len(model.edges))]
nearest = min(lengths, key=lambda value: abs(value - args.target_length))