You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
C4-PlantUML/.vscode/snippets/diagram.json

148 lines
3.6 KiB
JSON

{
"C4_Person": {
"prefix": "Person",
"body": [
"Person(${1:alias}, \"${2:label}\")",
"$0"
],
"description": "Add Person to C4 diagram"
},
"C4_Person_Descr": {
"prefix": "Person with Description",
"body": [
"Person(${1:alias}, \"${2:label}\", \"${3:description}\")",
"$0"
],
"description": "Add Person with Description to C4 diagram"
},
"C4_Person_Ext": {
"prefix": "External Person",
"body": [
"Person_Ext(${1:alias}, \"${2:label}\")",
"$0"
],
"description": "Add External Person to C4 diagram"
},
"C4_Person_Ext_Descr": {
"prefix": "External Person with Description",
"body": [
"Person_Ext(${1:alias}, \"${2:label}\", \"${3:description}\")",
"$0"
],
"description": "Add External Person with Description to C4 diagram"
},
"C4_Container": {
"prefix": "Container",
"body": [
"Container(${1:alias}, \"${2:label}\", \"${3:technology}\")",
"$0"
],
"description": "Add Container to C4 diagram"
},
"C4_Container_Descr": {
"prefix": "Container with Description",
"body": [
"Container(${1:alias}, \"${2:label}\", \"${3:technology}\", \"${4:description}\")",
"$0"
],
"description": "Add Container with Description to C4 diagram"
},
"C4_Container_Boundary": {
"prefix": "Container Boundary",
"body": [
"Container_Boundary(${1:alias}, \"${2:label}\"){",
"\t$0",
"}"
],
"description": "Add a Container Boundary to C4 diagram"
},
"C4_Component": {
"prefix": "Component",
"body": [
"Component(${1:alias}, \"${2:label}\", \"${3:technology}\")",
"$0"
],
"description": "Add Component to C4 diagram"
},
"C4_Component_Descr": {
"prefix": "Component with Description",
"body": [
"Component(${1:alias}, \"${2:label}\", \"${3:technology}\", \"${4:description}\")",
"$0"
],
"description": "Add Component with Description to C4 diagram"
},
"C4_System": {
"prefix": "System",
"body": [
"System(${1:alias}, \"${2:label}\")",
"$0"
],
"description": "Add System to C4 diagram"
},
"C4_System_Descr": {
"prefix": "System with Description",
"body": [
"System(${1:alias}, \"${2:label}\", \"${3:description}\")",
"$0"
],
"description": "Add System with Description to C4 diagram"
},
"C4_System_Ext": {
"prefix": "External System",
"body": [
"System_Ext(${1:alias}, \"${2:label}\")",
"$0"
],
"description": "Add External System to C4 diagram"
},
"C4_System_Ext_Descr": {
"prefix": "External System with Description",
"body": [
"System_Ext(${1:alias}, \"${2:label}\", \"${3:description}\")",
"$0"
],
"description": "Add External System with Description to C4 diagram"
},
"C4_System_Boundary": {
"prefix": "System Boundary",
"body": [
"System_Boundary(${1:alias}, \"${2:label}\"){",
"\t$0",
"}"
],
"description": "Add a System Boundary to C4 diagram"
},
"C4_Relationship": {
"prefix": "Relationship",
"body": [
"Rel(${1:from_alias}, ${2:to_alias}, \"${3:label}\")",
"$0"
],
"description": "Add unidirectional Relationship to C4 diagram"
},
"C4_Relationship_Techn": {
"prefix": "Relationship with Technology",
"body": [
"Rel(${1:from_alias}, ${2:to_alias}, \"${3:label}\", \"${4:technology}\")",
"$0"
],
"description": "Add unidirectional Relationship with Technology to C4 diagram"
},
"C4_Layout_Right": {
"prefix": "Layout to Right side",
"body": [
"Lay_R(${1:from_alias}, ${2:to_alias})",
"$0"
],
"description": "Add hidden layout line to put {to} to the right of {from}"
},
"C4_Layout_Left": {
"prefix": "Layout to Left side",
"body": [
"Lay_L(${1:from_alias}, ${2:to_alias})",
"$0"
],
"description": "Add hidden layout line to put {to} to the left of {from}"
}
}