Skip to content

fix(viewer): 消除架构连线多余短折角 - #35

Merged
Qiuner merged 3 commits into
mainfrom
codex/routing-short-jog-issue-34
Oct 2, 2026
Merged

Qiuner merged 3 commits into
mainfrom
codex/routing-short-jog-issue-34

Conversation

@Qiuner

@Qiuner Qiuner commented Sep 29, 2026 •

Copy link
Copy Markdown
Owner

改动

Closes #34

在生成 SVG 路径时,将不超过 12px 且替代跨度包围盒不碰撞障碍物的短折角合并为浅斜线。节点位置和关系语义保持不变。包含路由源文件、分发模块、浏览器包和重新生成的演示页。

验证

独立干净工作树执行 node scripts/check-pr.mjs 全部通过:类型、构建一致性、单元测试、浏览器测试、演示重生成一致性、示例及双语文档检查。

限制:现有测试不覆盖用户私有截图中的原始地图;没有宣称所有多余折角均已消除。未修改透明度及关系隐藏策略。

检查清单

  • 改动仅涉及所述问题。
  • 相关检查通过,已说明验证范围。
  • 文档检查通过,无文档行为契约变更。
  • 不包含私有项目数据或无关工作区改动。

@Qiuner

Qiuner commented Sep 29, 2026

Copy link
Copy Markdown
Owner Author

自动检查中的 check:build 失败原因是基线中的已知构建清单问题:scripts/skill-audit.mjs 已生成但未登记到 build-artifacts.json。本 PR 只包含 src/viewer/routing.mts 的短折角渲染修复,没有把工作区中与本问题无关的构建/技能改动带入。类型检查和单元测试已在本地通过;浏览器检查等待基线清单问题修复后再复跑。

@Qiuner
Qiuner force-pushed the codex/routing-short-jog-issue-34 branch from 41b9150 to 186ef8f Compare October 2, 2026 05:11
@Qiuner
Qiuner force-pushed the codex/routing-short-jog-issue-34 branch from ee88b50 to eb81ea3 Compare October 2, 2026 05:17
@Qiuner
Qiuner merged commit acddbf0 into main Oct 2, 2026
10 checks passed
@Qiuner
Qiuner deleted the codex/routing-short-jog-issue-34 branch October 2, 2026 05:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

架构图连线在端口高度差很小时产生多余折角

1 participant