feat: replace all mermaid diagrams with drawio-style SVGs in gen2D deck
Deploy Slides / build-and-deploy (push) Failing after 59s
Deploy Slides / build-and-deploy (push) Failing after 59s
This commit is contained in:
@@ -0,0 +1,63 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 180" font-family="Microsoft YaHei, PingFang SC, Helvetica, Arial, sans-serif">
|
||||
<defs>
|
||||
<filter id="shadow" x="-2%" y="-2%" width="104%" height="104%">
|
||||
<feDropShadow dx="1" dy="1" stdDeviation="2" flood-opacity="0.12"/>
|
||||
</filter>
|
||||
<marker id="arrow-blue" viewBox="0 0 10 10" refX="10" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse">
|
||||
<path d="M 0 0 L 10 5 L 0 10 z" fill="#6c8ebf"/>
|
||||
</marker>
|
||||
<marker id="arrow-red" viewBox="0 0 10 10" refX="10" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse">
|
||||
<path d="M 0 0 L 10 5 L 0 10 z" fill="#b85450"/>
|
||||
</marker>
|
||||
<marker id="arrow-green" viewBox="0 0 10 10" refX="10" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse">
|
||||
<path d="M 0 0 L 10 5 L 0 10 z" fill="#82b366"/>
|
||||
</marker>
|
||||
</defs>
|
||||
|
||||
<!-- 用户输入 -->
|
||||
<rect x="20" y="55" width="100" height="50" rx="8" fill="#dae8fc" stroke="#6c8ebf" stroke-width="1.5" filter="url(#shadow)"/>
|
||||
<text x="70" y="85" font-size="13" fill="#333" text-anchor="middle" font-weight="bold">用户输入</text>
|
||||
|
||||
<!-- Arrow: 用户输入 → PromptOptimizer -->
|
||||
<line x1="122" y1="80" x2="155" y2="80" stroke="#6c8ebf" stroke-width="2" marker-end="url(#arrow-blue)"/>
|
||||
|
||||
<!-- PromptOptimizer -->
|
||||
<rect x="158" y="45" width="140" height="70" rx="8" fill="#f8cecc" stroke="#b85450" stroke-width="1.5" filter="url(#shadow)"/>
|
||||
<text x="228" y="73" font-size="12" fill="#333" text-anchor="middle" font-weight="bold">Prompt</text>
|
||||
<text x="228" y="91" font-size="12" fill="#333" text-anchor="middle" font-weight="bold">Optimizer</text>
|
||||
|
||||
<!-- Arrow: → AssetGenerator -->
|
||||
<line x1="300" y1="80" x2="333" y2="80" stroke="#b85450" stroke-width="2" marker-end="url(#arrow-red)"/>
|
||||
|
||||
<!-- AssetGenerator -->
|
||||
<rect x="336" y="45" width="140" height="70" rx="8" fill="#f8cecc" stroke="#b85450" stroke-width="1.5" filter="url(#shadow)"/>
|
||||
<text x="406" y="73" font-size="12" fill="#333" text-anchor="middle" font-weight="bold">Asset</text>
|
||||
<text x="406" y="91" font-size="12" fill="#333" text-anchor="middle" font-weight="bold">Generator</text>
|
||||
|
||||
<!-- Arrow: → 质检 -->
|
||||
<line x1="478" y1="80" x2="511" y2="80" stroke="#b85450" stroke-width="2" marker-end="url(#arrow-red)"/>
|
||||
|
||||
<!-- 质检(菱形) -->
|
||||
<polygon points="570,30 630,80 570,130 510,80" fill="#fff2cc" stroke="#d6b656" stroke-width="1.5" filter="url(#shadow)"/>
|
||||
<text x="570" y="84" font-size="12" fill="#333" text-anchor="middle" font-weight="bold">质检</text>
|
||||
|
||||
<!-- Arrow: 通过 → FormatAdapter -->
|
||||
<line x1="632" y1="80" x2="665" y2="80" stroke="#82b366" stroke-width="2" marker-end="url(#arrow-green)"/>
|
||||
<text x="648" y="72" font-size="10" fill="#82b366" text-anchor="middle">通过</text>
|
||||
|
||||
<!-- FormatAdapter -->
|
||||
<rect x="668" y="45" width="140" height="70" rx="8" fill="#d5e8d4" stroke="#82b366" stroke-width="1.5" filter="url(#shadow)"/>
|
||||
<text x="738" y="73" font-size="12" fill="#333" text-anchor="middle" font-weight="bold">Format</text>
|
||||
<text x="738" y="91" font-size="12" fill="#333" text-anchor="middle" font-weight="bold">Adapter</text>
|
||||
|
||||
<!-- Arrow: → 输出 -->
|
||||
<line x1="810" y1="80" x2="843" y2="80" stroke="#82b366" stroke-width="2" marker-end="url(#arrow-green)"/>
|
||||
|
||||
<!-- 输出 -->
|
||||
<rect x="846" y="55" width="90" height="50" rx="8" fill="#d5e8d4" stroke="#82b366" stroke-width="1.5" filter="url(#shadow)"/>
|
||||
<text x="891" y="85" font-size="13" fill="#333" text-anchor="middle" font-weight="bold">输出</text>
|
||||
|
||||
<!-- 不通过 → 回退到 PromptOptimizer -->
|
||||
<path d="M 570,132 L 570,160 L 228,160 L 228,117" fill="none" stroke="#b85450" stroke-width="2" stroke-dasharray="6,3" marker-end="url(#arrow-red)"/>
|
||||
<text x="400" y="153" font-size="10" fill="#b85450" text-anchor="middle">不通过(重试≥3走降级)</text>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.8 KiB |
Reference in New Issue
Block a user