Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions website/src/content/agent-diagrams.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ Archify supports ten native diagram types. The agent picks the type that fits th
- **dataflow** — sources, transforms, stores, and sinks.
- **lifecycle** — states, transitions, and guards.
- **erd** — entities, keys, and relationship cardinality.
- **class** — types, fields, methods, inheritance and composition.
- **tree** — file, organizational, or decision hierarchies.
- **timeline** — dated or ordered events and their relationships.
- **waterfall** — timed spans, overlap, and nesting within a request or agent run.
- **class** — types, fields, methods, inheritance and composition, as in the [payment module class diagram](https://archify.si/gallery/artifacts/payments.class).
- **tree** — file, organizational, or decision hierarchies, as in the [payment platform capability tree](https://archify.si/gallery/artifacts/payment-platform.tree).
- **timeline** — dated or ordered events and their relationships, as in the [payment incident timeline](https://archify.si/gallery/artifacts/payment-incident.timeline).
- **waterfall** — timed spans, overlap, and nesting within a request or agent run, as in the [checkout request waterfall](https://archify.si/gallery/artifacts/checkout-request.waterfall).

For new architecture diagrams, the Skill uses `layout.mode: "auto"` to place components from their relationships while preserving any positions and routes you supply. This setting applies only to architecture diagrams.

Expand Down Expand Up @@ -218,6 +218,10 @@ Yes. See [how to use Mermaid as agent input](#mermaid-input) for a small example

No. A clear description can be enough. A repository becomes useful when the diagram must explain real code and you want inspectable source evidence.

### When should I use Architecture Diagnosis vs. PR walkthroughs?

Use [Architecture Diagnosis](#repository-evidence) to run static Code Analysis on a repository and inspect dependencies, cycles, and hotspots. Use [PR walkthroughs](#review-and-share) with `archify-pr` to mark what changed on a diagram for a GitHub PR or GitLab MR.

### Is it free, and which Archify is this?

This guide concerns the [tt-a1i/archify open-source project](https://github.com/tt-a1i/archify), whose official website is [archify.si](https://archify.si). Its code is Apache-2.0 licensed. Your agent or other services may have their own costs and terms. A similarly named browser extension or paid service is not affiliated with this project. See the [tool comparison](compare.html) for when another diagramming tool fits better.
Expand Down
12 changes: 8 additions & 4 deletions website/src/content/agent-diagrams.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ Archify 支持十种原生图型。Agent 先按问题选型,再编写对应的
- **dataflow(数据流)**:数据源、转换、存储与去向。
- **lifecycle(生命周期)**:状态、迁移与守卫条件。
- **erd(实体关系图)**:实体、键与关系基数。
- **class(类图)**:类型、字段、方法,以及继承与组合。
- **tree(树图)**:文件、组织或决策层级。
- **timeline(时间线)**:带日期或顺序的事件及其关系。
- **waterfall(瀑布图)**:一次请求或 Agent 运行中各段的耗时、重叠和嵌套。
- **class(类图)**:类型、字段、方法,以及继承与组合,见[支付模块类图](https://archify.si/gallery/artifacts/payments.class)。
- **tree(树图)**:文件、组织或决策层级,见[支付平台能力树图](https://archify.si/gallery/artifacts/payment-platform.tree)。
- **timeline(时间线)**:带日期或顺序的事件及其关系,见[支付故障时间线](https://archify.si/gallery/artifacts/payment-incident.timeline)。
- **waterfall(瀑布图)**:一次请求或 Agent 运行中各段的耗时、重叠和嵌套,见[结账请求瀑布图](https://archify.si/gallery/artifacts/checkout-request.waterfall)。

新建架构图时,Skill 使用 `layout.mode: "auto"` 根据组件关系自动摆放组件,并保留你指定的位置和连线路径。此设置仅适用于架构图。

Expand Down Expand Up @@ -218,6 +218,10 @@ Archify 支持架构图、工作流、时序图、数据流、生命周期、实

不需要。足够清楚的文字描述即可作为起点。只有当图需要解释真实代码、并希望检查源码证据时,仓库才成为重要输入。

### 检查仓库依赖和解释一次 PR,分别用哪个功能?

用[架构诊断](#repository-evidence)对仓库运行静态 Code Analysis,检查模块依赖、循环依赖和热点。要解释一次 GitHub PR 或 GitLab MR,就用 [`archify-pr` 的变更讲解](#review-and-share),在图上标记这次改动涉及的部分。

### 免费吗?这里说的是哪个 Archify?

这里指 [tt-a1i/archify 开源项目](https://github.com/tt-a1i/archify),官方网站是 [archify.si](https://archify.si)。项目代码采用 Apache-2.0 许可证。你使用的 Agent 或其他服务可能另有费用与条款;同名浏览器插件或收费服务与该项目无关。何时选择其他画图工具,可看[工具对比](compare.html)。
Expand Down
2 changes: 2 additions & 0 deletions website/src/data/llms-full.txt
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,9 @@ extension and any paid hosted service using the name "Archify" (such as
- https://archify.si/gallery — validated interactive artifacts (work, life, engineering) with sources.
- https://archify.si/community — independent packages and community extensions built on Archify.
- https://archify.si/agent-diagrams — how coding agents author, review, and share diagrams.
- https://archify.si/zh/agent-diagrams — Chinese guide for coding agents across 10 diagram types, Architecture Diagnosis, explainers, and PR walkthroughs.
- https://archify.si/compare — Archify vs Mermaid, Excalidraw, PlantUML, and D2.
- https://archify.si/zh/compare — Chinese comparison guide covering draw.io, ProcessOn, Mermaid, Excalidraw, PlantUML, D2, LikeC4, and Eraser.io.
- https://archify.si/cases/explainer/first-rental — everyday one-page explainer: first-time apartment rental checklist.
- https://archify.si/cases/life/leave-plan.workflow — everyday planning workflow: annual leave schedule.
- https://archify.si/cases/life/renting.sequence — everyday negotiation sequence: renting walkthrough.
Expand Down
6 changes: 3 additions & 3 deletions website/src/data/published-cases.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const PUBLISHED_CASES = [
artifact: 'cases/life/leave-plan.workflow.html',
input: 'cases/life/leave-plan.workflow.json',
title: '一年的年假怎么排',
description: '查看一份基于 Archify 生成的中文年假安排可交互工作流图:清晰串联全年休假节点、调休组合、剩余额度与规则提醒,支持节点聚焦与链路追踪。此为示例计划,不代表真实日历或公司的休假政策。',
description: '想把分散的年假和调休安排放到同一张图上?打开 Archify 中文交互工作流图,按时间查看各段休假、调休组合、规则提醒和剩余额度。点击节点追踪请假路径,再核对每段用掉的额度如何汇入全年合计,避免重复扣减。也可以对照结构化源文件查看图中的节点与连线。此为示例计划,不代表真实日历或公司的休假政策。',
language: 'zh-CN',
},
{
Expand All @@ -28,7 +28,7 @@ export const PUBLISHED_CASES = [
artifact: 'cases/life/renting.sequence.html',
input: 'cases/life/renting.sequence.json',
title: '租一套房,一来一回都在这里',
description: '用 Archify 中文可交互时序图完整梳理租客、中介与房东之间的看房、议价、合同核对、签约、付款与房屋交接全流程,支持点击聚焦单步交互与角色路径。金额和流程仅为示例。',
description: '第一次租房,想弄清每一步该和谁确认?打开 Archify 中文交互时序图,按时间查看租客、中介和房东在联系看房、议价、核对合同、签约付款和交接房屋时如何沟通。点击消息查看当时谁向谁提出要求,再沿角色路径查看下一步由谁接手,例如谁核对合同条款,谁在交接时确认房屋状况。金额和流程仅为示例。',
language: 'zh-CN',
},
{
Expand Down Expand Up @@ -74,7 +74,7 @@ export const PUBLISHED_CASES = [
artifact: 'cases/astron-agent-runtime.architecture.html',
input: 'cases/astron-agent-runtime.architecture.json',
title: 'Astron Agent 运行时架构',
description: '查看 Astron Agent 在固定提交 a77c92a 的源码实证运行时架构图:完整呈现入口层、核心服务职责、状态存储与模块调用边界,支持节点聚焦与链路追踪。此图依据源码编写对齐,非运行时 trace。',
description: '想了解 Astron Agent 如何组织运行时职责?打开固定提交 a77c92a 对应的 Archify 交互架构图,查看入口层、核心服务、状态存储和模块调用边界。点击组件聚焦其职责,沿连线查看上下游,再对照结构化源文件与固定版本代码。图中关系依据该提交的静态源码整理,非运行时 trace。',
language: 'zh-CN',
},
];
Loading
Loading