feat: replace all mermaid diagrams with drawio-style SVGs in gen2D deck
Deploy Slides / build-and-deploy (push) Failing after 59s

This commit is contained in:
2026-05-30 22:14:23 +08:00
parent 1a297e57a9
commit 6014a576ff
8 changed files with 273 additions and 33 deletions
+3 -7
View File
@@ -2,13 +2,9 @@
四表结构,清晰的实体关系
```mermaid {scale: 0.7}
erDiagram
USER ||--o{ PROJECT : "拥有"
PROJECT ||--|| PROJECT_STYLE : "配置"
PROJECT ||--o{ TASK : "生成"
TASK ||--o{ ASSET : "产出"
```
<div class="flex justify-center">
<img src="/data-model.svg" class="w-full max-h-[250px] object-contain" />
</div>
<div class="grid grid-cols-2 gap-4 mt-2">
+3 -10
View File
@@ -2,16 +2,9 @@
Docker Compose 双容器 + 一键部署
```mermaid {scale: 0.7}
graph TB
subgraph Docker Compose
A[nginx 容器] -->|proxy_pass| B[app 容器]
end
B --> C[七牛云 Kodo]
B --> D[DeepSeek LLM]
B --> E[Stability AI]
User -->|HTTP| A
```
<div class="flex justify-center">
<img src="/deployment.svg" class="w-full max-h-[300px] object-contain" />
</div>
<Item title="🐳 容器化方案">
nginx 容器:Vite 构建产物 + 反向代理 `/api`。app 容器:Go 二进制 + SQLite 挂载。内部网络通信,nginx 暴露 8080 端口。
+2 -10
View File
@@ -14,14 +14,6 @@
视觉模型自动质检,不合格触发重优化(最多 3 次)。通过后组装 Spritesheet + 元数据,上传七牛云 Kodo。
</Item>
<div class="mt-4 text-sm text-gray-400">
```mermaid {scale: 0.7}
graph LR
A[用户输入] --> B[PromptOptimizer] --> C[AssetGenerator] --> D{质检}
D -->|通过| E[FormatAdapter] --> F[输出]
D -->|不通过| B
D -->|重试≥3| E
```
<div class="mt-4 flex justify-center">
<img src="/pipeline.svg" class="w-full max-h-[180px] object-contain" />
</div>
+3 -6
View File
@@ -14,9 +14,6 @@ Eino Chain 驱动的智能提示词生成
调用 Eino Chain 发给 DeepSeek 润色。**无 API Key 自动回退模板**,失败时注入重试上下文。
</Item>
```mermaid {scale: 0.65}
graph LR
A[用户描述] --> B[风格合并] --> C[三段式组装] --> D[LLM 优化] --> E[最终提示词]
F[工程风格] --> B
G[任务覆盖] --> B
```
<div class="flex justify-center">
<img src="/prompt-agent.svg" class="w-full max-h-[160px] object-contain" />
</div>