ling-playground / utils.py
cafe3310's picture
feat: Initial clean commit
a9fb7e9
raw
history blame
1.12 kB
# Mock data and helper functions
WORKFLOW_SVG_DIAGRAM = """<svg width="100%" height="150" xmlns="http://www.w3.org/2000/svg">
<defs>
<marker id="arrow" viewBox="0 0 10 10" refX="5" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse">
<path d="M 0 0 L 10 5 L 0 10 z" fill="#9ca3af"></path>
</marker>
</defs>
<g fill="none" stroke="#9ca3af" stroke-width="2">
<rect x="10" y="50" width="100" height="50" rx="5" fill="#bfdbfe"></rect>
<text x="60" y="80" text-anchor="middle" fill="#1e3a8a" font-size="12">Step 1: Plan</text>
<path d="M110 75 L140 75" marker-end="url(#arrow)"></path>
<rect x="140" y="50" width="100" height="50" rx="5" fill="#f3f4f6"></rect>
<text x="190" y="80" text-anchor="middle" fill="#4b5563" font-size="12">Step 2: Execute</text>
<path d="M240 75 L270 75" marker-end="url(#arrow)"></path>
<rect x="270" y="50" width="100" height="50" rx="5" fill="#f3f4f6"></rect>
<text x="320" y="80" text-anchor="middle" fill="#4b5563" font-size="12">Step 3: Review</text>
</g>
</svg>"""