Skip to content

Agent skill that turns natural language, code, Terraform/K8s, SQL, OpenAPI, AsyncAPI, Protobuf and GraphQL sources into editable, tested draw.io architecture diagrams: incremental sync, multi-view projection, drift diff, CI architecture tests, whiteboard derasterize, interactive HTML/PPTX/Mermaid exports.

docs: horizontal workflow diagram + trim What it does to 6 essentials

Agents365-ai530a2a55341f
diff --git a/README.md b/README.md
index 71508ec..8cec144 100644
--- a/README.md
+++ b/README.md
@@ -12,16 +12,10 @@
|---|---|
| `.drawio` XML generation | From natural-language descriptions |
| Multi-format export | PNG / SVG / PDF / JPG via the native draw.io desktop CLI |
-| 6 diagram type presets | ERD, UML Class, Sequence, Architecture, ML/Deep Learning, Flowchart — preset shapes, styles, layout conventions |
-| Animated connectors | `flowAnimation=1` for data-flow and pipeline diagrams (visible in SVG and draw.io desktop) |
-| ML model diagrams | Tensor shape annotations `(B, C, H, W)` — ideal for NeurIPS/ICML/ICLR papers |
-| Grid-aligned layout | All coordinates snap to 10px multiples for clean alignment |
-| Browser fallback | Generates diagrams.net URLs when the desktop CLI is unavailable |
-| Iterative design | Preview, gather feedback, refine until the diagram looks right |
-| Auto-launch desktop | Opens draw.io after export for manual fine-tuning |
+| 6 diagram type presets | ERD, UML Class, Sequence, Architecture, ML/Deep Learning, Flowchart |
+| Iterative review | Self-check + auto-fix (up to 2 rounds), then a 5-round feedback loop until you approve |
+| Style presets | Capture your visual style from a `.drawio` file or image, save by name, reapply on demand |
| Auto-trigger | Activates whenever diagrams would help explain complex systems |
-| Style presets *(v1.3)* | Teach the skill your visual style from a `.drawio` file or image, save by name, reapply on demand |
-| Custom output dir *(v1.4)* | Ask for any path (`./artifacts/`, `docs/images/`); the skill `mkdir -p`s and exports — ideal for CI/CD pipelines |
## Comparison
diff --git a/README_CN.md b/README_CN.md
index 2f44f35..be84fe7 100644
--- a/README_CN.md
+++ b/README_CN.md
@@ -12,16 +12,10 @@
|---|---|
| `.drawio` XML 生成 | 根据自然语言描述生成 |
| 多格式导出 | PNG / SVG / PDF / JPG,使用 draw.io 桌面版原生 CLI |
-| 6 种图表类型预设 | ERD、UML 类图、序列图、架构图、ML/深度学习、流程图 —— 含预设形状、样式、布局规范 |
-| 动画连接线 | `flowAnimation=1`,适用于数据流和管道图(在 SVG 和 draw.io 桌面版中可见) |
-| ML 模型图 | 张量形状标注 `(B, C, H, W)` —— 适合 NeurIPS/ICML/ICLR 论文 |
-| 网格对齐布局 | 所有坐标对齐到 10px 倍数,保证整洁 |
-| 浏览器降级 | 桌面 CLI 不可用时生成 diagrams.net URL |
-| 迭代设计 | 预览、获取反馈、反复优化直到满意 |
-| 自动启动桌面版 | 导出后自动打开 draw.io 用于精修 |
+| 6 种图表类型预设 | ERD、UML 类图、序列图、架构图、ML/深度学习、流程图 |
+| 迭代审查 | 自检 + 自动修复(最多 2 轮),再走 5 轮反馈循环直到你满意 |
+| 样式预设 | 用 `.drawio` 文件或图片"教会"Skill 你的风格,命名保存后随时复用 |
| 自动触发 | 图表有助于解释复杂系统时自动调用 |
-| 样式预设 *(v1.3)* | 用 `.drawio` 文件或图片"教会"Skill 你的风格,命名保存后随时复用 |
-| 自定义输出目录 *(v1.4)* | 指定任意路径(`./artifacts/`、`docs/images/`),Skill 自动 `mkdir -p` 并导出 —— 适合 CI/CD 产物流水线 |
## 对比
diff --git a/assets/workflow-cn.drawio b/assets/workflow-cn.drawio
index b69a663..a97a16e 100644
--- a/assets/workflow-cn.drawio
+++ b/assets/workflow-cn.drawio
@@ -1,116 +1,116 @@
<?xml version="1.0" encoding="UTF-8"?>
<mxfile host="drawio" version="26.0.0">
<diagram name="Page-1">
- <mxGraphModel>
+ <mxGraphModel pageWidth="1400" pageHeight="320" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<!-- 开始 -->
<mxCell id="2" value="开始" style="ellipse;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;" vertex="1" parent="1">
- <mxGeometry x="170" y="20" width="160" height="40" as="geometry" />
+ <mxGeometry x="20" y="130" width="80" height="40" as="geometry" />
</mxCell>
<!-- 1. 检查依赖 -->
<mxCell id="3" value="1. 检查依赖" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" vertex="1" parent="1">
- <mxGeometry x="140" y="100" width="220" height="50" as="geometry" />
+ <mxGeometry x="120" y="120" width="120" height="60" as="geometry" />
</mxCell>
<!-- 2. 规划图表 -->
<mxCell id="4" value="2. 规划图表" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" vertex="1" parent="1">
- <mxGeometry x="140" y="190" width="220" height="50" as="geometry" />
+ <mxGeometry x="260" y="120" width="120" height="60" as="geometry" />
</mxCell>
- <!-- 3. 生成 XML -->
+ <!-- 3. 生成 .drawio XML -->
<mxCell id="5" value="3. 生成 .drawio XML" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" vertex="1" parent="1">
- <mxGeometry x="140" y="280" width="220" height="50" as="geometry" />
+ <mxGeometry x="400" y="120" width="140" height="60" as="geometry" />
</mxCell>
- <!-- 4. 导出草稿 -->
+ <!-- 4. 导出草稿 PNG -->
<mxCell id="6" value="4. 导出草稿 PNG" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" vertex="1" parent="1">
- <mxGeometry x="140" y="370" width="220" height="50" as="geometry" />
+ <mxGeometry x="560" y="120" width="130" height="60" as="geometry" />
</mxCell>
- <!-- 5. 自检 -->
+ <!-- 5. 自检 &amp; 自动修复 -->
<mxCell id="7" value="5. 自检 &amp;amp; 自动修复&lt;br&gt;&lt;i style=&quot;font-size:11px&quot;&gt;(最多 2 轮)&lt;/i&gt;" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#e1d5e7;strokeColor=#9673a6;" vertex="1" parent="1">
- <mxGeometry x="140" y="460" width="220" height="60" as="geometry" />
+ <mxGeometry x="710" y="115" width="140" height="70" as="geometry" />
</mxCell>
- <!-- 6. 展示给用户 -->
- <mxCell id="8" value="6. 展示图片给用户" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" vertex="1" parent="1">
- <mxGeometry x="140" y="570" width="220" height="50" as="geometry" />
+ <!-- 6. 展示图片给用户 -->
+ <mxCell id="8" value="6. 展示给用户" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" vertex="1" parent="1">
+ <mxGeometry x="870" y="120" width="120" height="60" as="geometry" />
</mxCell>
- <!-- 满意? -->
+ <!-- 满意? -->
<mxCell id="9" value="满意?" style="rhombus;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;" vertex="1" parent="1">
- <mxGeometry x="160" y="670" width="180" height="80" as="geometry" />
- </mxCell>
-
- <!-- 根据反馈编辑 XML -->
- <mxCell id="10" value="根据反馈编辑 XML" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#ffe6cc;strokeColor=#d79b00;" vertex="1" parent="1">
- <mxGeometry x="440" y="685" width="200" height="50" as="geometry" />
- </mxCell>
-
- <!-- 重新导出 PNG -->
- <mxCell id="11" value="重新导出 PNG" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#ffe6cc;strokeColor=#d79b00;" vertex="1" parent="1">
- <mxGeometry x="440" y="570" width="200" height="50" as="geometry" />
+ <mxGeometry x="1010" y="110" width="100" height="80" as="geometry" />
</mxCell>
<!-- 7. 最终导出 -->
<mxCell id="12" value="7. 最终导出" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;" vertex="1" parent="1">
- <mxGeometry x="140" y="810" width="220" height="50" as="geometry" />
+ <mxGeometry x="1130" y="120" width="120" height="60" as="geometry" />
</mxCell>
<!-- 完成 -->
<mxCell id="13" value="完成" style="ellipse;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;" vertex="1" parent="1">
- <mxGeometry x="170" y="910" width="160" height="40" as="geometry" />
+ <mxGeometry x="1270" y="130" width="80" height="40" as="geometry" />
+ </mxCell>
+
+ <!-- 根据反馈编辑 XML -->
+ <mxCell id="10" value="根据反馈编辑 XML" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#ffe6cc;strokeColor=#d79b00;" vertex="1" parent="1">
+ <mxGeometry x="990" y="240" width="140" height="50" as="geometry" />
</mxCell>
- <!-- Edges -->
- <mxCell id="20" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="2" target="3">
+ <!-- 重新导出 PNG -->
+ <mxCell id="11" value="重新导出 PNG" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#ffe6cc;strokeColor=#d79b00;" vertex="1" parent="1">
+ <mxGeometry x="830" y="240" width="130" height="50" as="geometry" />
+ </mxCell>
+
+ <!-- Edges: 主流程 -->
+ <mxCell id="20" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="2" target="3">
<mxGeometry relative="1" as="geometry" />
</mxCell>
- <mxCell id="21" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="3" target="4">
+ <mxCell id="21" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="3" target="4">
<mxGeometry relative="1" as="geometry" />
</mxCell>
- <mxCell id="22" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="4" target="5">
+ <mxCell id="22" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="4" target="5">
<mxGeometry relative="1" as="geometry" />
</mxCell>
- <mxCell id="23" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="5" target="6">
+ <mxCell id="23" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="5" target="6">
<mxGeometry relative="1" as="geometry" />
</mxCell>
- <mxCell id="24" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="6" target="7">
+ <mxCell id="24" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="6" target="7">
<mxGeometry relative="1" as="geometry" />
</mxCell>
- <mxCell id="25" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="7" target="8">
+ <mxCell id="25" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="7" target="8">
<mxGeometry relative="1" as="geometry" />
</mxCell>
- <mxCell id="26" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="8" target="9">
+ <mxCell id="26" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="8" target="9">
<mxGeometry relative="1" as="geometry" />
</mxCell>
- <!-- 满意 → 是 → 最终导出 -->
- <mxCell id="27" value="是" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="9" target="12">
+ <!-- 满意? → 是 → 最终导出 -->
+ <mxCell id="27" value="是" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="9" target="12">
<mxGeometry relative="1" as="geometry" />
</mxCell>
- <!-- 满意 → 否 → 编辑 XML -->
- <mxCell id="28" value="否" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="9" target="10">
+ <!-- 最终导出 → 完成 -->
+ <mxCell id="31" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="12" target="13">
<mxGeometry relative="1" as="geometry" />
</mxCell>
- <!-- 编辑 → 重新导出 -->
- <mxCell id="29" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1" source="10" target="11">
+ <!-- 满意? → 否 → 编辑 XML -->
+ <mxCell id="28" value="否" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="9" target="10">
<mxGeometry relative="1" as="geometry" />
</mxCell>
- <!-- 重新导出 → 展示(循环) -->
- <mxCell id="30" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="11" target="8">
+ <!-- 编辑 XML → 重新导出 -->
+ <mxCell id="29" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="10" target="11">
<mxGeometry relative="1" as="geometry" />
</mxCell>
- <!-- 最终导出 → 完成 -->
- <mxCell id="31" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="12" target="13">
+ <!-- 重新导出 → 6. 展示给用户 -->
+ <mxCell id="30" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1" source="11" target="8">
<mxGeometry relative="1" as="geometry" />
</mxCell>
diff --git a/assets/workflow-cn.png b/assets/workflow-cn.png
index dc8d446..f10cdd3 100644
Binary files a/assets/workflow-cn.png and b/assets/workflow-cn.png differ
diff --git a/assets/workflow.drawio b/assets/workflow.drawio
index 868c6b2..67f08d4 100644
--- a/assets/workflow.drawio
+++ b/assets/workflow.drawio
@@ -1,116 +1,116 @@
<?xml version="1.0" encoding="UTF-8"?>
<mxfile host="drawio" version="26.0.0">
<diagram name="Page-1">
- <mxGraphModel>
+ <mxGraphModel pageWidth="1400" pageHeight="320" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<!-- Start -->
<mxCell id="2" value="Start" style="ellipse;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;" vertex="1" parent="1">
- <mxGeometry x="170" y="20" width="160" height="40" as="geometry" />
+ <mxGeometry x="20" y="130" width="80" height="40" as="geometry" />
</mxCell>
<!-- 1. Check deps -->
<mxCell id="3" value="1. Check deps" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" vertex="1" parent="1">
- <mxGeometry x="140" y="100" width="220" height="50" as="geometry" />
+ <mxGeometry x="120" y="120" width="120" height="60" as="geometry" />
</mxCell>
- <!-- 2. Plan -->
+ <!-- 2. Plan diagram -->
<mxCell id="4" value="2. Plan diagram" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" vertex="1" parent="1">
- <mxGeometry x="140" y="190" width="220" height="50" as="geometry" />
+ <mxGeometry x="260" y="120" width="120" height="60" as="geometry" />
</mxCell>
<!-- 3. Generate XML -->
<mxCell id="5" value="3. Generate .drawio XML" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" vertex="1" parent="1">
- <mxGeometry x="140" y="280" width="220" height="50" as="geometry" />
+ <mxGeometry x="400" y="120" width="140" height="60" as="geometry" />
</mxCell>
- <!-- 4. Export PNG -->
+ <!-- 4. Export draft PNG -->
<mxCell id="6" value="4. Export draft PNG" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" vertex="1" parent="1">
- <mxGeometry x="140" y="370" width="220" height="50" as="geometry" />
+ <mxGeometry x="560" y="120" width="130" height="60" as="geometry" />
</mxCell>
- <!-- 5. Self-check -->
+ <!-- 5. Self-check &amp; auto-fix -->
<mxCell id="7" value="5. Self-check &amp; auto-fix&lt;br&gt;&lt;i style=&quot;font-size:11px&quot;&gt;(max 2 rounds)&lt;/i&gt;" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#e1d5e7;strokeColor=#9673a6;" vertex="1" parent="1">
- <mxGeometry x="140" y="460" width="220" height="60" as="geometry" />
+ <mxGeometry x="710" y="115" width="140" height="70" as="geometry" />
</mxCell>
- <!-- 6. Show to user -->
- <mxCell id="8" value="6. Show image to user" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" vertex="1" parent="1">
- <mxGeometry x="140" y="570" width="220" height="50" as="geometry" />
+ <!-- 6. Show image to user -->
+ <mxCell id="8" value="6. Show to user" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" vertex="1" parent="1">
+ <mxGeometry x="870" y="120" width="120" height="60" as="geometry" />
</mxCell>
<!-- Approved? -->
<mxCell id="9" value="Approved?" style="rhombus;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;" vertex="1" parent="1">
- <mxGeometry x="160" y="670" width="180" height="80" as="geometry" />
- </mxCell>
-
- <!-- Edit XML (side) -->
- <mxCell id="10" value="Edit XML per feedback" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#ffe6cc;strokeColor=#d79b00;" vertex="1" parent="1">
- <mxGeometry x="440" y="685" width="200" height="50" as="geometry" />
- </mxCell>
-
- <!-- Re-export PNG (side) -->
- <mxCell id="11" value="Re-export PNG" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#ffe6cc;strokeColor=#d79b00;" vertex="1" parent="1">
- <mxGeometry x="440" y="570" width="200" height="50" as="geometry" />
+ <mxGeometry x="1010" y="110" width="100" height="80" as="geometry" />
</mxCell>
<!-- 7. Final export -->
<mxCell id="12" value="7. Final export" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;" vertex="1" parent="1">
- <mxGeometry x="140" y="810" width="220" height="50" as="geometry" />
+ <mxGeometry x="1130" y="120" width="120" height="60" as="geometry" />
</mxCell>
<!-- Done -->
<mxCell id="13" value="Done" style="ellipse;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;" vertex="1" parent="1">
- <mxGeometry x="170" y="910" width="160" height="40" as="geometry" />
+ <mxGeometry x="1270" y="130" width="80" height="40" as="geometry" />
+ </mxCell>
+
+ <!-- Edit XML (below) -->
+ <mxCell id="10" value="Edit XML per feedback" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#ffe6cc;strokeColor=#d79b00;" vertex="1" parent="1">
+ <mxGeometry x="990" y="240" width="140" height="50" as="geometry" />
</mxCell>
- <!-- Edges: main flow -->
- <mxCell id="20" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="2" target="3">
+ <!-- Re-export PNG (below) -->
+ <mxCell id="11" value="Re-export PNG" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#ffe6cc;strokeColor=#d79b00;" vertex="1" parent="1">
+ <mxGeometry x="830" y="240" width="130" height="50" as="geometry" />
+ </mxCell>
+
+ <!-- Edges: main left-to-right flow -->
+ <mxCell id="20" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="2" target="3">
<mxGeometry relative="1" as="geometry" />
</mxCell>
- <mxCell id="21" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="3" target="4">
+ <mxCell id="21" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="3" target="4">
<mxGeometry relative="1" as="geometry" />
</mxCell>
- <mxCell id="22" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="4" target="5">
+ <mxCell id="22" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="4" target="5">
<mxGeometry relative="1" as="geometry" />
</mxCell>
- <mxCell id="23" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="5" target="6">
+ <mxCell id="23" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="5" target="6">
<mxGeometry relative="1" as="geometry" />
</mxCell>
- <mxCell id="24" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="6" target="7">
+ <mxCell id="24" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="6" target="7">
<mxGeometry relative="1" as="geometry" />
</mxCell>
- <mxCell id="25" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="7" target="8">
+ <mxCell id="25" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="7" target="8">
<mxGeometry relative="1" as="geometry" />
</mxCell>
- <mxCell id="26" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="8" target="9">
+ <mxCell id="26" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="8" target="9">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<!-- Approved? → Yes → Final export -->
- <mxCell id="27" value="Yes" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="9" target="12">
+ <mxCell id="27" value="Yes" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="9" target="12">
<mxGeometry relative="1" as="geometry" />
</mxCell>
- <!-- Approved? → No → Edit XML -->
- <mxCell id="28" value="No" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="9" target="10">
+ <!-- Final export → Done -->
+ <mxCell id="31" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="12" target="13">
<mxGeometry relative="1" as="geometry" />
</mxCell>
- <!-- Edit XML → Re-export -->
- <mxCell id="29" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1" source="10" target="11">
+ <!-- Approved? → No → Edit XML (downward) -->
+ <mxCell id="28" value="No" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="9" target="10">
<mxGeometry relative="1" as="geometry" />
</mxCell>
- <!-- Re-export → Show (loop back) -->
- <mxCell id="30" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="11" target="8">
+ <!-- Edit XML → Re-export (right-to-left) -->
+ <mxCell id="29" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="10" target="11">
<mxGeometry relative="1" as="geometry" />
</mxCell>
- <!-- Final export → Done -->
- <mxCell id="31" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="12" target="13">
+ <!-- Re-export → 6. Show to user (upward loop) -->
+ <mxCell id="30" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1" source="11" target="8">
<mxGeometry relative="1" as="geometry" />
</mxCell>
diff --git a/assets/workflow.png b/assets/workflow.png
index 56f1476..c342278 100644
Binary files a/assets/workflow.png and b/assets/workflow.png differ