a
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"name": "semantic_shapes",
|
||||
"description": "语义节点映射:double/cylinder/hexagon/cloud",
|
||||
"type": "quick_architecture",
|
||||
"params": {
|
||||
"title": "语义节点测试",
|
||||
"layers": [
|
||||
{"name": "AI层", "items": [
|
||||
{"label": "GPT-4", "color": "backend", "shape": "double"},
|
||||
{"label": "Agent编排", "color": "backend", "shape": "hexagon"}
|
||||
], "color": "backend"},
|
||||
{"name": "数据层", "items": [
|
||||
{"label": "PostgreSQL", "color": "database", "shape": "cylinder"},
|
||||
{"label": "AWS S3", "color": "cloud", "shape": "cloud"}
|
||||
], "color": "database"}
|
||||
],
|
||||
"output": "__TMP__/03_semantic_shapes.svg",
|
||||
"style": "flat",
|
||||
"format": "svg"
|
||||
},
|
||||
"assertions": [
|
||||
{"check": "not_empty"},
|
||||
{"check": "contains", "text": "GPT-4"},
|
||||
{"check": "contains", "text": "Agent编排"},
|
||||
{"check": "contains", "text": "PostgreSQL"},
|
||||
{"check": "contains", "text": "AWS S3"},
|
||||
{"check": "contains_tag", "tag": "<ellipse", "min_count": 1},
|
||||
{"check": "contains_tag", "tag": "<polygon", "min_count": 1}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user