22 lines
599 B
JSON
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"}
|
|
]
|
|
}
|