Skip to content

feat: 将 dev 的绘图默认值更新合并到 main - #10

Merged
bahayonghang merged 7 commits into
mainfrom
dev
Jul 13, 2026
Merged

feat: 将 dev 的绘图默认值更新合并到 main#10
bahayonghang merged 7 commits into
mainfrom
dev

Conversation

@bahayonghang

Copy link
Copy Markdown
Owner

Summary

  • change the default connector end arrow to Open across themes and DSL output
  • make 300 DPI PNG the default export, with SVG fallback when draw.io Desktop is unavailable
  • update documentation, changelogs, tests, and archived Trellis records for the completed work

Verification

  • repository changes were committed on dev
  • pre-merge tree generated successfully with git merge-tree --write-tree origin/main origin/dev
  • GitHub checks will be required to pass before merge

bahayonghang and others added 7 commits July 13, 2026 14:15
流向类连接器(primary/data/control/memory_read/memory_write/feedback)及无类型
兜底的默认箭头由实心 block 改为开放式 open(无填充 V 形),并给 open 补上
endSize=12 保证 2px 连线上的可见度。endFill 改为随箭头类型走约定(open/none
不填充、block/classic/diamond 填充):显式 block 仍渲染实心,UML 继承 endFill=0
空心三角、dependency 菱形均保留。base 连接器表 + 11 个主题 JSON 一并同步。

Why: 用户推翻此前记录的"粗实心大三角"硬性偏好(记忆 #4),改用开放式线型箭头
作为全默认,仅在显式要求或 UML/ER 语义时用实心头。

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
默认交付图片由标准 SVG 改为经 draw.io Desktop 的 300dpi PNG:cli.js 新增
--dpi(默认 300,scale=dpi/96),desktop.js 的 buildDrawioExportArgs 对栅格
格式(png/jpg)追加 -s <scale>;矢量(svg/pdf)不受缩放影响。Desktop 不可用
时,目标 PNG/PDF/JPG 自动回退为独立 SVG 并在 stderr 告警、退出码 0,保住离线
可用性。显式 SVG/PDF/JPG 仍照旧导出。新增 desktop.test.js 覆盖缩放参数,并把
导出策略契约测试更新为 PNG 默认。

Why: 用户要求默认只出 300dpi PNG,不明确要求时不导出 SVG/PDF。

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
两个 skill 的 SKILL.md、参考文档、导出清单与 CHANGELOG 同步两项默认变更:
- 连线默认 Open 箭头:edge-quality-rules、connectors、specification、
  agent-diagrams、architecture-diagrams、replicate、publication-overlay。
- 默认导出 300dpi PNG、缺 Desktop 回退 SVG:两 SKILL.md 交付/导出策略、
  academic-export-checklist、docs/guide/export.md。
academic 侧保留醒目"期刊/IEEE 投稿需显式导出 PDF/SVG 矢量"指引。

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
task.py archive 自动加日期前缀 + slug 已含日期,导致归档目录名重复为
07-13-07-13-open-arrow-default;重命名为 07-13-open-arrow-default,与内部
task.json 的 id/name 及 journal/记忆里的引用一致。仅目录名,内容不变。

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

📚 Documentation Build Preview

✅ Documentation built successfully!

Build Statistics:

  • 📦 Total size: 4.1M
  • 📄 Files generated: 160

Note: This is a preview build. The documentation will be deployed to GitHub Pages when a release is published.

@bahayonghang
bahayonghang merged commit b28386a into main Jul 13, 2026
1 check passed
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