forked from plantuml-stdlib/C4-PlantUML
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
plantuml-stdlib#383 fill undefined property columns and complete head…
…er columns
- Loading branch information
Showing
2 changed files
with
106 additions
and
0 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
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,19 @@ | ||
@startuml | ||
' convert it with additional command line argument -DRELATIVE_INCLUDE="./.." to use locally | ||
!if %variable_exists("RELATIVE_INCLUDE") | ||
!include %get_variable_value("RELATIVE_INCLUDE")/C4_Deployment.puml | ||
!else | ||
!include https://raw.githubusercontent.com/kirchsth/C4-PlantUML/extended/C4_Deployment.puml | ||
!endif | ||
|
||
' missing columns 3 and 4 are added that all columns are displayed | ||
SetPropertyHeader("", $col2Name="2") | ||
AddProperty($col1="col1") | ||
AddProperty("", $col2="col2") | ||
AddProperty(" ", " ", $col3="col3") | ||
' missing columns 2 and 3 are inserted with empty values | ||
AddProperty("", $col4="col4") | ||
|
||
Container(c, "Container") | ||
|
||
@enduml |