Skip to content

Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.

Align integration checks with showcase label metrics

tt-a1ifbb497c2c4e3
diff --git a/README_ZH.md b/README_ZH.md
index 8cf5ef43..eaf2432d 100644
--- a/README_ZH.md
+++ b/README_ZH.md
@@ -272,11 +272,10 @@ Claude.ai 中的上传入口:
- [Schema 说明](archify/schemas/README.md)
- [Skill 与 Renderer 契约](archify/SKILL.md)
-- [示例](archify/examples/)
+- [示例](archify/examples/) · [分层阅读](archify/references/layered-reading.md):离线总览与显式细节关联。
- [Agent 编图手册](docs/authoring-cookbook.zh-CN.md) · [English](docs/authoring-cookbook.md)
- [版本历史](CHANGELOG.md)
- [路线图](ROADMAP.md)
-- [分层阅读](archify/references/layered-reading.md):离线总览与显式细节关联,保留阅读位置并统一主题。
- [自动生成的 Proof Lab](https://tt-a1i.github.io/archify/gallery.html)
自动 Mermaid Parser、通用自动布局、托管分享服务和 WYSIWYG 编辑器目前都不在产品范围内。
diff --git a/archify/test/layout-rules.test.mjs b/archify/test/layout-rules.test.mjs
index 2f3d22aa..b7ca1157 100644
--- a/archify/test/layout-rules.test.mjs
+++ b/archify/test/layout-rules.test.mjs
@@ -1256,7 +1256,7 @@ test('sequence: showcase rejects a message label that leaves the canvas', () =>
const { code, stderr } = render('sequence', d);
assert.notEqual(code, 0, `expected non-zero exit; stderr:\n${stderr}`);
assert.match(stderr, /\[composition\/label-canvas-containment\] showcase sequence label ".*" on messages\[0\]/);
- assert.match(stderr, /extends past the left edge by 39px .*viewBox 1080x560/);
+ assert.match(stderr, /extends past the left edge by 99\.2px .*viewBox 1080x560/);
assert.match(stderr, /shorten the label, reorder participants, or enlarge meta\.viewBox/);
});