{ "C4_Include_Context": { "scope": "diagram", "prefix": "Include C4 Context Diagram", "body": [ "!include https://raw.githubusercontent.com/adrianvlupu/C4-PlantUML/latest/C4_Context.puml", "$0" ], "description": "Include C4 Context Diagram" }, "C4_Include_Container": { "scope": "diagram", "prefix": "Include C4 Container Diagram", "body": [ "!include https://raw.githubusercontent.com/adrianvlupu/C4-PlantUML/latest/C4_Container.puml", "$0" ], "description": "Include C4 Container Diagram" }, "C4_Include_Component": { "scope": "diagram", "prefix": "Include C4 Component Diagram", "body": [ "!include https://raw.githubusercontent.com/adrianvlupu/C4-PlantUML/latest/C4_Component.puml", "$0" ], "description": "Include C4 Component Diagram" }, "C4_Include_Deployment": { "scope": "diagram", "prefix": "Include C4 Deployment Diagram", "body": [ "!include https://raw.githubusercontent.com/adrianvlupu/C4-PlantUML/latest/C4_Deployment.puml", "$0" ], "description": "Include C4 Deployment Diagram" }, "C4_Include_Dynamic": { "scope": "diagram", "prefix": "Include C4 Dynamic Diagram", "body": [ "!include https://raw.githubusercontent.com/adrianvlupu/C4-PlantUML/latest/C4_Dynamic.puml", "$0" ], "description": "Include C4 Dynamic Diagram" }, "C4_Person": { "scope": "diagram", "prefix": "Person", "body": [ "Person(${1:alias}, \"${2:label}\")", "$0" ], "description": "Add Person to C4 diagram" }, "C4_Person_Descr": { "scope": "diagram", "prefix": "Person with Description", "body": [ "Person(${1:alias}, \"${2:label}\", \"${3:description}\")", "$0" ], "description": "Add Person with Description to C4 diagram" }, "C4_Person_Ext": { "scope": "diagram", "prefix": [ "External Person", "Person (External)" ], "body": [ "Person_Ext(${1:alias}, \"${2:label}\")", "$0" ], "description": "Add External Person to C4 diagram" }, "C4_Person_Ext_Descr": { "scope": "diagram", "prefix": [ "External Person with Description", "Person (External) with Description" ], "body": [ "Person_Ext(${1:alias}, \"${2:label}\", \"${3:description}\")", "$0" ], "description": "Add External Person with Description to C4 diagram" }, "C4_Container": { "scope": "diagram", "prefix": "Container", "body": [ "Container(${1:alias}, \"${2:label}\", \"${3:technology}\")", "$0" ], "description": "Add Container to C4 diagram" }, "C4_Container_Descr": { "scope": "diagram", "prefix": "Container with Description", "body": [ "Container(${1:alias}, \"${2:label}\", \"${3:technology}\", \"${4:description}\")", "$0" ], "description": "Add Container with Description to C4 diagram" }, "C4_ContainerDb": { "scope": "diagram", "prefix": "Database Container", "body": [ "ContainerDb(${1:alias}, \"${2:label}\", \"${3:technology}\")", "$0" ], "description": "Add Database Container to C4 diagram" }, "C4_ContainerDb_Descr": { "scope": "diagram", "prefix": "Database Container with Description", "body": [ "ContainerDb(${1:alias}, \"${2:label}\", \"${3:technology}\", \"${4:description}\")", "$0" ], "description": "Add Database Container with Description to C4 diagram" }, "C4_Container_Boundary": { "scope": "diagram", "prefix": [ "Container Boundary", "Boundary for Container" ], "body": [ "Container_Boundary(${1:alias}, \"${2:label}\"){", "\t$0", "}" ], "description": "Add a Container Boundary to C4 diagram" }, "C4_Component": { "scope": "diagram", "prefix": "Component", "body": [ "Component(${1:alias}, \"${2:label}\", \"${3:technology}\")", "$0" ], "description": "Add Component to C4 diagram" }, "C4_Component_Descr": { "scope": "diagram", "prefix": "Component with Description", "body": [ "Component(${1:alias}, \"${2:label}\", \"${3:technology}\", \"${4:description}\")", "$0" ], "description": "Add Component with Description to C4 diagram" }, "C4_ComponentDb": { "scope": "diagram", "prefix": "Database Component", "body": [ "ComponentDb(${1:alias}, \"${2:label}\", \"${3:technology}\")", "$0" ], "description": "Add Database Component to C4 diagram" }, "C4_ComponentDb_Descr": { "scope": "diagram", "prefix": "Database Component with Description", "body": [ "ComponentDb(${1:alias}, \"${2:label}\", \"${3:technology}\", \"${4:description}\")", "$0" ], "description": "Add Database Component with Description to C4 diagram" }, "C4_System": { "scope": "diagram", "prefix": "System", "body": [ "System(${1:alias}, \"${2:label}\")", "$0" ], "description": "Add System to C4 diagram" }, "C4_System_Descr": { "scope": "diagram", "prefix": "System with Description", "body": [ "System(${1:alias}, \"${2:label}\", \"${3:description}\")", "$0" ], "description": "Add System with Description to C4 diagram" }, "C4_System_Ext": { "scope": "diagram", "prefix": [ "External System", "System (External)" ], "body": [ "System_Ext(${1:alias}, \"${2:label}\")", "$0" ], "description": "Add External System to C4 diagram" }, "C4_System_Ext_Descr": { "scope": "diagram", "prefix": [ "External System with Description", "System (External) with Description" ], "body": [ "System_Ext(${1:alias}, \"${2:label}\", \"${3:description}\")", "$0" ], "description": "Add External System with Description to C4 diagram" }, "C4_System_Boundary": { "scope": "diagram", "prefix": [ "System Boundary", "Boundary for System" ], "body": [ "System_Boundary(${1:alias}, \"${2:label}\"){", "\t$0", "}" ], "description": "Add a System Boundary to C4 diagram" }, "C4_Enterprise_Boundary": { "scope": "diagram", "prefix": [ "Enterprise Boundary", "Boundary for Enterprise" ], "body":[ "Enterprise_Boundary(${1:alias}, \"${2:label}\"){", "\t$0", "}" ], "description": "Add an Enterprise Boundary to C4 diagram" }, "C4_Relationship": { "scope": "diagram", "prefix": "Relationship", "body": [ "Rel(${1:from_alias}, ${2:to_alias}, \"${3:label}\")", "$0" ], "description": "Add unidirectional Relationship to C4 diagram" }, "C4_Relationship_Techn": { "scope": "diagram", "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_Relationship_Index": { "scope": "diagram", "prefix": "Relationship with Index", "body": [ "RelIndex(${1:index}, ${2:from_alias}, ${3:to_alias}, \"${4:label}\")", "$0" ], "description": "Add unidirectional Relationship to C4 Dynamic Diagram" }, "C4_Relationship_Index_Techn": { "scope": "diagram", "prefix": "Relationship with Technology and Index", "body": [ "RelIndex(${1:index}, ${2:from_alias}, ${3:to_alias}, \"${4:label}\", \"${5:technology}\")", "$0" ], "description": "Add unidirectional Relationship with Technology to C4 Dynamic Diagram" }, "C4_Layout_Right": { "scope": "diagram", "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": { "scope": "diagram", "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}" }, "C4_Boundary": { "scope": "diagram", "prefix": "Boundary", "body": [ "Boundary(${1:alias}, \"${2:label}\"){", "\t$0", "}" ], "description": "Add a generic boundary to C4 diagram." }, "C4_Boundary_Type": { "scope": "diagram", "prefix": [ "Boundary with type" ], "body": [ "Boundary(${1:alias}, \"${2:label}\", \"${3:type}\"){", "\t$0", "}" ], "description": "Add a generic boundary to C4 diagram." }, "C4_Deployment_Node": { "scope": "diagram", "prefix": "Deployment Node", "body": [ "Deployment_Node(${1:alias}, \"${2:label}\"){", "\t$0", "}" ], "description": "Add a deployment node to C4 diagram." }, "C4_Deployment_Node_Type": { "scope": "diagram", "prefix": [ "Deployment Node with type" ], "body": [ "Deployment_Node(${1:alias}, \"${2:label}\", \"${3:type}\"){", "\t$0", "}" ], "description": "Add a deployment node to C4 diagram." }, "C4_Dynamic_Increment": { "scope": "diagram", "prefix": [ "Increment index" ], "body": [ "increment(${1:count})", "$0" ], "description": "Increment index of C4 Dynamic Diagram." }, "C4_Dynamic_Set_Index": { "scope": "diagram", "prefix": [ "Set index" ], "body": [ "setIndex(${1:value})", "$0" ], "description": "Set index of C4 Dynamic Diagram" }, "C4_Hide_Stereotype": { "scope": "diagram", "prefix": [ "Hide stereotype", "No stereotype" ], "body": [ "HIDE_STEREOTYPE()" ], "description": "Hide stereotypes from C4 diagram.." }, "C4_Layout_With_Legend": { "scope": "diagram", "prefix": [ "Layout with legend", "Legend layout" ], "body": [ "LAYOUT_WITH_LEGEND()" ], "description": "Add legend to C4 diagram." }, "C4_Layout_Left_Right": { "scope": "diagram", "prefix": [ "Layout left to right", "Left to right layout" ], "body": [ "LAYOUT_LEFT_RIGHT()" ], "description": "Left to right layout for C4 diagram." }, "C4_Layout_Top_Down": { "scope": "diagram", "prefix": [ "Layout top down", "Top down layout" ], "body": [ "LAYOUT_TOP_DOWN()" ], "description": "Top down layout for C4 diagram." }, "C4_Layout_As_Sketch": { "scope": "diagram", "prefix": [ "Layout as sketch", "Sketch layout" ], "body": [ "LAYOUT_AS_SKETCH()" ], "description": "Sketch layout for C4 diagram." } }