From f765aca60e65ab28247ad91f71fa600ca84e89b2 Mon Sep 17 00:00:00 2001 From: Adrian Lupu Date: Sun, 29 Mar 2020 15:04:34 +0300 Subject: [PATCH] https://github.com/RicardoNiepel/C4-PlantUML/issues/37 --- .vscode/C4.code-snippets | 11 +++++++++++ C4.puml | 4 ++++ 2 files changed, 15 insertions(+) diff --git a/.vscode/C4.code-snippets b/.vscode/C4.code-snippets index be6780c..76c64c2 100644 --- a/.vscode/C4.code-snippets +++ b/.vscode/C4.code-snippets @@ -359,6 +359,17 @@ ], "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": [ diff --git a/C4.puml b/C4.puml index facb30a..c4e501c 100644 --- a/C4.puml +++ b/C4.puml @@ -49,6 +49,10 @@ skinparam rectangle<> { ' Layout ' ################################## +!function HIDE_STEREOTYPE() +hide stereotype +!endfunction + !function LAYOUT_AS_SKETCH() skinparam backgroundColor #EEEBDC skinparam handwritten true