fix: Mermaid colors + simplified LR layout

This commit is contained in:
Accusys
2026-05-18 12:54:51 +08:00
parent b373608e67
commit 7835922264
2 changed files with 23 additions and 39 deletions

View File

@@ -7,47 +7,31 @@
### Dependency Graph ### Dependency Graph
```mermaid ```mermaid
flowchart TB flowchart LR
subgraph Processors["10 Processors"] subgraph Processors[10 Processors]
Cut[Cut] --> ASR[ASR] direction TB
ASR --> ASRX[ASRX] Cut --> ASR
ASRX --> Story[Story] ASR --> ASRX
Cut --> Story ASRX --> Story
YOLO[YOLO] --> VisualChunk[VisualChunk] YOLO --> Visual
VisualChunk --> Story Visual --> Story
Face[Face] --> Story Face --> Story
Story --> FiveW1H[5W1H] Story --> FiveW1H
OCR[OCR] OCR & Pose
Pose[Pose]
end end
subgraph Ingestion["入庫 (Post-Processing)"] subgraph Ingestion[入庫]
ASR --> Rule1[Rule 1 Sentence] direction TB
ASRX --> Rule1 ASR & ASRX --> Rule1
Rule1 --> Vectorize[Auto-Vectorize] Rule1 --> Vec[Vectorize] & P1[Pack1]
Rule1 --> Phase1[Phase 1 Pack] Cut & ASR --> Rule3
Face --> Trace
Cut --> Rule3[Rule 3 Scene] Trace --> Qdrant & TChunks[Chunks] & TKG
ASR --> Rule3 Face & YOLO --> SceneM[Scene Meta]
Face & ASRX --> IDAgent[ID Agent]
Face --> Trace[Face Trace] Cut & ASR --> A5[5W1H Agent]
Trace --> Qdrant[Qdrant Sync] A5 --> P2[Pack2]
Trace --> TraceChunks[Trace Chunks]
Trace --> TKG[TKG Builder]
Face --> TMDbMatch[TMDb Match]
Face --> SceneMeta[Scene Metadata]
YOLO --> SceneMeta
Face --> IdentityAgent[Identity Agent]
ASRX --> IdentityAgent
Cut --> Agent5W1H[5W1H Agent]
ASR --> Agent5W1H
Agent5W1H --> Phase2[Phase 2 Pack]
end end
style Processors fill:#1a1a2e,stroke:#e94560
style Ingestion fill:#16213e,stroke:#0f3460
``` ```
### Pipeline Completion Flow ### Pipeline Completion Flow

View File

@@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Momentry API Docs</title> <title>Momentry API Docs</title>
<script src="https://cdn.jsdelivr.net/npm/mermaid@11/dist/mermaid.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/mermaid@11/dist/mermaid.min.js"></script>
<script>mermaid.initialize({startOnLoad:false,theme:'base',themeVariables:{primaryColor:'#1a1a2e',lineColor:'#e94560',secondaryColor:'#16213e'}});</script> <script>mermaid.initialize({startOnLoad:false,theme:'base',themeVariables:{primaryColor:'#e8f4fd',primaryBorderColor:'#4a90d9',primaryTextColor:'#333',lineColor:'#4a90d9',secondaryColor:'#fef3e2',secondaryBorderColor:'#d9a84a',tertiaryColor:'#e8f8e8'}});</script>
<style> <style>
* { margin: 0; padding: 0; box-sizing: border-box; } * { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: #f5f5f5; color: #333; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: #f5f5f5; color: #333; }