-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
more modes: Raw, Common, Simplified, C4 integration
- Loading branch information
1 parent
c3a0763
commit 21829dc
Showing
12 changed files
with
279 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
' Legends | ||
' ################################## | ||
|
||
!ifdef COMPONENT_BG_COLOR | ||
!define COMPONENT_LEGEND | ||
!else | ||
!ifdef CONTAINER_BG_COLOR | ||
!define CONTAINER_LEGEND | ||
!else | ||
!define CONTEXT_LEGEND | ||
!endif | ||
!endif | ||
|
||
!ifdef CONTEXT_LEGEND | ||
!definelong LAYOUT_WITH_LEGEND | ||
hide <<person>> stereotype | ||
hide <<external_system>> stereotype | ||
hide <<system>> stereotype | ||
hide <<external_system>> stereotype | ||
legend right | ||
|= |= Type | | ||
|<PERSON_BG_COLOR> | person | | ||
|<EXTERNAL_PERSON_BG_COLOR> | external person | | ||
|<SYSTEM_BG_COLOR> | system | | ||
|<EXTERNAL_SYSTEM_BG_COLOR> | external system | | ||
|<AZURE_BG_COLOR> | Azure service container | | ||
endlegend | ||
!enddefinelong | ||
!endif | ||
|
||
!ifdef CONTAINER_LEGEND | ||
!definelong LAYOUT_WITH_LEGEND | ||
hide <<person>> stereotype | ||
hide <<external_system>> stereotype | ||
hide <<system>> stereotype | ||
hide <<external_system>> stereotype | ||
hide <<container>> stereotype | ||
legend right | ||
|= |= Type | | ||
|<PERSON_BG_COLOR> | person | | ||
|<EXTERNAL_PERSON_BG_COLOR> | external person | | ||
|<SYSTEM_BG_COLOR> | system | | ||
|<EXTERNAL_SYSTEM_BG_COLOR> | external system | | ||
|<CONTAINER_BG_COLOR> | container | | ||
|<AZURE_BG_COLOR> | Azure service container | | ||
endlegend | ||
!enddefinelong | ||
!endif | ||
|
||
!ifdef COMPONENT_LEGEND | ||
!definelong LAYOUT_WITH_LEGEND | ||
hide <<person>> stereotype | ||
hide <<external_system>> stereotype | ||
hide <<system>> stereotype | ||
hide <<external_system>> stereotype | ||
hide <<container>> stereotype | ||
hide <<component>> stereotype | ||
legend right | ||
|= |= Type | | ||
|<PERSON_BG_COLOR> | person | | ||
|<EXTERNAL_PERSON_BG_COLOR> | external person | | ||
|<SYSTEM_BG_COLOR> | system | | ||
|<EXTERNAL_SYSTEM_BG_COLOR> | external system | | ||
|<CONTAINER_BG_COLOR> | container | | ||
|<AZURE_BG_COLOR> | Azure service container | | ||
|<COMPONENT_BG_COLOR> | component | | ||
endlegend | ||
!enddefinelong | ||
!endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
' Azure-PlantUML, version 2.0.0 | ||
' https://github.com/RicardoNiepel/Azure-PlantUML | ||
|
||
' Colors | ||
' ################################## | ||
!define AZURE_COLOR #0072C6 | ||
!define AZURE_BG_COLOR #FFFFFF | ||
!define AZURE_BORDER_COLOR #3C7FC0 | ||
!define AZURE_SYMBOL_COLOR AZURE_COLOR | ||
|
||
' Styling | ||
' ################################## | ||
|
||
!define TECHN_FONT_SIZE 12 | ||
|
||
!definelong AzureEntityColoring(e_stereo) | ||
skinparam rectangle<<e_stereo>> { | ||
BackgroundColor AZURE_BG_COLOR | ||
BorderColor AZURE_BORDER_COLOR | ||
|
||
} | ||
!enddefinelong | ||
|
||
' Elements | ||
' ################################## | ||
|
||
!definelong AzureEntity(e_alias, e_label, e_techn, e_color, e_sprite, e_stereo) | ||
rectangle "==e_label\n<color:e_color><$e_sprite></color>\n//<size:TECHN_FONT_SIZE>[e_techn]</size>//" <<e_stereo>> as e_alias | ||
!enddefinelong | ||
|
||
!definelong AzureEntity(e_alias, e_label, e_techn, e_descr, e_color, e_sprite, e_stereo) | ||
rectangle "==e_label\n<color:e_color><$e_sprite></color>\n//<size:TECHN_FONT_SIZE>[e_techn]</size>//\n\n e_descr" <<e_stereo>> as e_alias | ||
!enddefinelong |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
' Styling | ||
' ################################## | ||
|
||
hide stereotype | ||
|
||
!definelong AzureEntityColoring(e_stereo) | ||
skinparam rectangle<<e_stereo>> { | ||
BackgroundColor AZURE_BG_COLOR | ||
BorderColor transparent | ||
Shadowing false | ||
} | ||
!enddefinelong | ||
|
||
' Overwriting Elements | ||
' ################################## | ||
|
||
!definelong AzureEntity(e_alias, e_label, e_techn, e_color, e_sprite, e_stereo) | ||
rectangle "<color:e_color><$e_sprite></color>\n\n==e_label" <<e_stereo>> as e_alias | ||
!enddefinelong | ||
|
||
!definelong AzureEntity(e_alias, e_label, e_techn, e_descr, e_color, e_sprite, e_stereo) | ||
rectangle "<color:e_color><$e_sprite></color>\n\n==e_label" <<e_stereo>> as e_alias | ||
!enddefinelong |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
' Legends | ||
' ################################## | ||
|
||
!ifdef COMPONENT_BG_COLOR | ||
!define COMPONENT_LEGEND | ||
!else | ||
!ifdef CONTAINER_BG_COLOR | ||
!define CONTAINER_LEGEND | ||
!else | ||
!define CONTEXT_LEGEND | ||
!endif | ||
!endif | ||
|
||
!ifdef CONTEXT_LEGEND | ||
!definelong LAYOUT_WITH_LEGEND | ||
hide <<person>> stereotype | ||
hide <<external_system>> stereotype | ||
hide <<system>> stereotype | ||
hide <<external_system>> stereotype | ||
legend right | ||
|= |= Type | | ||
|<PERSON_BG_COLOR> | person | | ||
|<EXTERNAL_PERSON_BG_COLOR> | external person | | ||
|<SYSTEM_BG_COLOR> | system | | ||
|<EXTERNAL_SYSTEM_BG_COLOR> | external system | | ||
|<AZURE_BG_COLOR> | Azure service container | | ||
endlegend | ||
!enddefinelong | ||
!endif | ||
|
||
!ifdef CONTAINER_LEGEND | ||
!definelong LAYOUT_WITH_LEGEND | ||
hide <<person>> stereotype | ||
hide <<external_system>> stereotype | ||
hide <<system>> stereotype | ||
hide <<external_system>> stereotype | ||
hide <<container>> stereotype | ||
legend right | ||
|= |= Type | | ||
|<PERSON_BG_COLOR> | person | | ||
|<EXTERNAL_PERSON_BG_COLOR> | external person | | ||
|<SYSTEM_BG_COLOR> | system | | ||
|<EXTERNAL_SYSTEM_BG_COLOR> | external system | | ||
|<CONTAINER_BG_COLOR> | container | | ||
|<AZURE_BG_COLOR> | Azure service container | | ||
endlegend | ||
!enddefinelong | ||
!endif | ||
|
||
!ifdef COMPONENT_LEGEND | ||
!definelong LAYOUT_WITH_LEGEND | ||
hide <<person>> stereotype | ||
hide <<external_system>> stereotype | ||
hide <<system>> stereotype | ||
hide <<external_system>> stereotype | ||
hide <<container>> stereotype | ||
hide <<component>> stereotype | ||
legend right | ||
|= |= Type | | ||
|<PERSON_BG_COLOR> | person | | ||
|<EXTERNAL_PERSON_BG_COLOR> | external person | | ||
|<SYSTEM_BG_COLOR> | system | | ||
|<EXTERNAL_SYSTEM_BG_COLOR> | external system | | ||
|<CONTAINER_BG_COLOR> | container | | ||
|<AZURE_BG_COLOR> | Azure service container | | ||
|<COMPONENT_BG_COLOR> | component | | ||
endlegend | ||
!enddefinelong | ||
!endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
' Azure-PlantUML, version 2.0.0 | ||
' https://github.com/RicardoNiepel/Azure-PlantUML | ||
|
||
' Colors | ||
' ################################## | ||
!define AZURE_COLOR #0072C6 | ||
!define AZURE_BG_COLOR #FFFFFF | ||
!define AZURE_BORDER_COLOR #3C7FC0 | ||
!define AZURE_SYMBOL_COLOR AZURE_COLOR | ||
|
||
' Styling | ||
' ################################## | ||
|
||
!define TECHN_FONT_SIZE 12 | ||
|
||
!definelong AzureEntityColoring(e_stereo) | ||
skinparam rectangle<<e_stereo>> { | ||
BackgroundColor AZURE_BG_COLOR | ||
BorderColor AZURE_BORDER_COLOR | ||
|
||
} | ||
!enddefinelong | ||
|
||
' Elements | ||
' ################################## | ||
|
||
!definelong AzureEntity(e_alias, e_label, e_techn, e_color, e_sprite, e_stereo) | ||
rectangle "==e_label\n<color:e_color><$e_sprite></color>\n//<size:TECHN_FONT_SIZE>[e_techn]</size>//" <<e_stereo>> as e_alias | ||
!enddefinelong | ||
|
||
!definelong AzureEntity(e_alias, e_label, e_techn, e_descr, e_color, e_sprite, e_stereo) | ||
rectangle "==e_label\n<color:e_color><$e_sprite></color>\n//<size:TECHN_FONT_SIZE>[e_techn]</size>//\n\n e_descr" <<e_stereo>> as e_alias | ||
!enddefinelong |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
' Styling | ||
' ################################## | ||
|
||
hide stereotype | ||
|
||
!definelong AzureEntityColoring(e_stereo) | ||
skinparam rectangle<<e_stereo>> { | ||
BackgroundColor AZURE_BG_COLOR | ||
BorderColor transparent | ||
Shadowing false | ||
} | ||
!enddefinelong | ||
|
||
' Overwriting Elements | ||
' ################################## | ||
|
||
!definelong AzureEntity(e_alias, e_label, e_techn, e_color, e_sprite, e_stereo) | ||
rectangle "<color:e_color><$e_sprite></color>\n\n==e_label" <<e_stereo>> as e_alias | ||
!enddefinelong | ||
|
||
!definelong AzureEntity(e_alias, e_label, e_techn, e_descr, e_color, e_sprite, e_stereo) | ||
rectangle "<color:e_color><$e_sprite></color>\n\n==e_label" <<e_stereo>> as e_alias | ||
!enddefinelong |