Files
nanocode/skills/hand-drawn-diagram/tests/fixtures/02_flat_style.json
T
Ubuntu 32b43f85bd a
2026-07-03 16:58:28 +08:00

22 lines
599 B
JSON

{
"name": "flat_style",
"description": "Flat风格浅色主题生成",
"type": "quick_architecture",
"params": {
"title": "Flat风格测试",
"layers": [
{"name": "网关层", "items": ["Nginx", "CDN"], "color": "cloud"},
{"name": "服务层", "items": ["API", "Worker"], "color": "backend"}
],
"output": "__TMP__/02_flat_style.svg",
"style": "flat",
"format": "svg"
},
"assertions": [
{"check": "not_empty"},
{"check": "contains", "text": "Nginx"},
{"check": "contains", "text": "CDN"},
{"check": "contains_tag", "tag": "<svg"}
]
}