feat: replace ASCII architecture diagram with drawio SVG in gen2D deck

This commit is contained in:
2026-05-30 22:10:23 +08:00
parent 19075592e5
commit 1a297e57a9
3 changed files with 258 additions and 25 deletions
+2 -25
View File
@@ -1,28 +1,5 @@
# 系统架构全景
<div class="text-sm mt-2">
```
┌─────────────────────────────────────────────────────┐
│ Frontend (React + Vite + TypeScript) │
│ 项目画廊 · 工作台 · 结果预览 · 风格编辑器 │
│ Zustand 状态管理 · react-router v7 │
└─────────────────────────┬───────────────────────────┘
│ HTTP / WebSocket
┌─────────────────────────▼───────────────────────────┐
│ Backend (Go + Gin + Eino) │
│ │
│ Handler: JWT 中间件 · 请求校验 · 错误处理 │
│ ↓ │
│ Service: Eino compose.Graph Pipeline │
│ PromptOptimizer → AssetGenerator │
│ → QualitySupervisor → FormatAdapter │
│ 项目管理 · 风格系统 · 用户认证 │
│ ↓ │
│ Data: GORM + SQLite · sync.Map 缓存 │
│ │
│ 外部: DeepSeek LLM · Stability AI · 七牛云 Kodo │
└──────────────────────────────────────────────────────┘
```
<div class="mt-2 flex justify-center">
<img src="/architecture.svg" class="w-full max-h-[500px] object-contain" />
</div>