first prototype with all PlantUML elements (use feature/all_plantuml_elements branch)

pull/337/head
kirchsth 2 years ago
parent 75d5faf0bf
commit ab88f87ba3

@ -2,7 +2,7 @@
!if %variable_exists("RELATIVE_INCLUDE")
!include ./C4_Container.puml
!else
!include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Container.puml
!include https://raw.githubusercontent.com/kirchsth/C4-PlantUML/feature/all_plantuml_elements/C4_Container.puml
!endif
' Scope: A single container.

@ -2,7 +2,7 @@
!if %variable_exists("RELATIVE_INCLUDE")
!include ./C4_Context.puml
!else
!include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Context.puml
!include https://raw.githubusercontent.com/kirchsth/C4-PlantUML/feature/all_plantuml_elements/C4_Context.puml
!endif
' Scope: A single software system.

@ -2,7 +2,7 @@
!if %variable_exists("RELATIVE_INCLUDE")
!include ./C4.puml
!else
!include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4.puml
!include https://raw.githubusercontent.com/kirchsth/C4-PlantUML/feature/all_plantuml_elements/C4.puml
!endif
' Scope: A single software system.

@ -2,7 +2,7 @@
!if %variable_exists("RELATIVE_INCLUDE")
!include ./C4_Container.puml
!else
!include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Container.puml
!include https://raw.githubusercontent.com/kirchsth/C4-PlantUML/feature/all_plantuml_elements/C4_Container.puml
!endif
' Colors

@ -2,7 +2,7 @@
!if %variable_exists("RELATIVE_INCLUDE")
!include ./C4_Component.puml
!else
!include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Component.puml
!include https://raw.githubusercontent.com/kirchsth/C4-PlantUML/feature/all_plantuml_elements/C4_Component.puml
!endif
' Scope: Interactions in an enterprise, software system or container.

@ -2,7 +2,7 @@
!if %variable_exists("RELATIVE_INCLUDE")
!include ./C4_Component.puml
!else
!include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Component.puml
!include https://raw.githubusercontent.com/kirchsth/C4-PlantUML/feature/all_plantuml_elements/C4_Component.puml
!endif
' Scope: Interactions in an enterprise, software system or container.

@ -1,11 +1,15 @@
@startuml
' If UNLOCK_ALL_PLANT_ELEMENTS is set BEFORE the first C4_* file is loaded,
' nearly "all" PlantUML elements can be used like
' Component(StorageA, "Storage A ", $plant="storage")
!UNLOCK_ALL_PLANT_ELEMENTS = 1
' convert it with additional command line argument -DRELATIVE_INCLUDE="./.." to use locally
!if %variable_exists("RELATIVE_INCLUDE")
!include %get_variable_value("RELATIVE_INCLUDE")/Unlock_All_Elements.puml
!include %get_variable_value("RELATIVE_INCLUDE")/C4_Component.puml
!else
!include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/Unlock_All_Elements.puml
!include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Component.puml
!include https://raw.githubusercontent.com/kirchsth/C4-PlantUML/feature/all_plantuml_elements/C4_Component.puml
!endif
' !theme C4_united from <C4/themes>

Loading…
Cancel
Save