@@ -116,7 +116,7 @@ Take a look at the following sample of a C4 Container Diagram:
116
116
117
117
``` plantuml
118
118
@startuml Basic Sample
119
- !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master /C4_Container.puml
119
+ !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/v2.5.0 /C4_Container.puml
120
120
121
121
Person(admin, "Administrator")
122
122
System_Boundary(c1, "Sample System") {
@@ -135,7 +135,7 @@ Entities can also be decorated with icons/sprites using the $sprite parameter, f
135
135
136
136
``` plantuml
137
137
@startuml
138
- !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master /C4_Container.puml
138
+ !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/v2.5.0 /C4_Container.puml
139
139
140
140
!define DEVICONS https://raw.githubusercontent.com/tupadr3/plantuml-icon-font-sprites/master/devicons
141
141
!define FONTAWESOME https://raw.githubusercontent.com/tupadr3/plantuml-icon-font-sprites/master/font-awesome-5
@@ -163,7 +163,7 @@ Similar to icons/sprites is it possible to add links to all elements and relatio
163
163
164
164
``` plantuml
165
165
@startuml Basic Sample
166
- !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master /C4_Container.puml
166
+ !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/v2.5.0 /C4_Container.puml
167
167
168
168
Person(admin, "Administrator", $sprite="person2", $link="https://github.com/plantuml-stdlib/C4-PlantUML/blob/master/LayoutOptions.md#hide_person_sprite-or-show_person_spritesprite")
169
169
System_Boundary(c1, "Sample System", $link="https://github.com/plantuml-stdlib/C4-PlantUML") {
@@ -186,7 +186,7 @@ Elements and relationships can be decorated with tags and explained via a calcul
186
186
187
187
``` plantuml
188
188
@startuml
189
- !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master /C4_Container.puml
189
+ !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/v2.5.0 /C4_Container.puml
190
190
191
191
AddElementTag("v1.0", $borderColor="#d73027")
192
192
AddElementTag("v1.1", $fontColor="#d73027")
@@ -221,7 +221,7 @@ SHOW_LEGEND()
221
221
> - ` ?arg ` : argument optional (e.g. ` ?tags ` ); an optional argument can be directly set via its keyword ` $arg=... ` (e.g. ` $tags="specificTag" ` ) without the other optional arguments
222
222
223
223
- System Context & System Landscape diagrams
224
- - Import: ` !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master /C4_Context.puml `
224
+ - Import: ` !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/v2.5.0 /C4_Context.puml `
225
225
- Macros:
226
226
- ` Person(alias, label, ?descr, ?sprite, ?tags, ?link) `
227
227
- ` Person_Ext `
@@ -241,7 +241,7 @@ SHOW_LEGEND()
241
241
- ` robot2 `
242
242
243
243
- Container diagram
244
- - Import: ` !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master /C4_Container.puml `
244
+ - Import: ` !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/v2.5.0 /C4_Container.puml `
245
245
- Additional Macros:
246
246
- ` Container(alias, label, ?techn, ?descr, ?sprite, ?tags, ?link) `
247
247
- ` ContainerDb `
@@ -252,7 +252,7 @@ SHOW_LEGEND()
252
252
- ` Container_Boundary(alias, label, ?tags, ?link) `
253
253
254
254
- Component diagram
255
- - Import: ` !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master /C4_Component.puml `
255
+ - Import: ` !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/v2.5.0 /C4_Component.puml `
256
256
- Additional Macros:
257
257
- ` Component(alias, label, ?techn, ?descr, ?sprite, ?tags, ?link) `
258
258
- ` ComponentDb `
@@ -262,7 +262,7 @@ SHOW_LEGEND()
262
262
- ` ComponentQueue_Ext `
263
263
264
264
- Dynamic diagram
265
- - Import: ` !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master /C4_Dynamic.puml `
265
+ - Import: ` !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/v2.5.0 /C4_Dynamic.puml `
266
266
- Additional Macros:
267
267
- ` RelIndex(index, from, to, label, ?tags, ?link) `
268
268
- (lowercase) ` increment($offset=1) ` : increase current index (procedure which has no direct output)
@@ -274,7 +274,7 @@ SHOW_LEGEND()
274
274
- ` SetIndex($new_index) ` : returns new set index and calculates next index (function which can be used as argument)
275
275
276
276
- Deployment diagram
277
- - Import: ` !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master /C4_Deployment.puml `
277
+ - Import: ` !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/v2.5.0 /C4_Deployment.puml `
278
278
- Additional Macros:
279
279
- ` Deployment_Node(alias, label, ?type, ?descr, ?sprite, ?tags, ?link) `
280
280
- ` Node(alias, label, ?type, ?descr, ?sprite, ?tags, ?link) ` : short name of Deployment_Node()
@@ -299,7 +299,7 @@ In following sample a person uses different systems, and a group of persons whic
299
299
300
300
``` plantuml
301
301
@startuml
302
- !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master /C4_Container.puml
302
+ !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/v2.5.0 /C4_Container.puml
303
303
HIDE_STEREOTYPE()
304
304
305
305
Person(a, "A")
@@ -341,7 +341,7 @@ In following sample a person uses different systems, and a group of persons whic
341
341
342
342
``` plantuml
343
343
@startuml
344
- !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master /C4_Container.puml
344
+ !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/v2.5.0 /C4_Container.puml
345
345
HIDE_STEREOTYPE()
346
346
347
347
Person(a, "A")
@@ -380,7 +380,7 @@ In following sample the floating legend should be in the left bottom corner of t
380
380
381
381
``` plantuml
382
382
@startuml
383
- !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master /C4_Container.puml
383
+ !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/v2.5.0 /C4_Container.puml
384
384
385
385
!define DEVICONS https://raw.githubusercontent.com/tupadr3/plantuml-icon-font-sprites/master/devicons
386
386
!define FONTAWESOME https://raw.githubusercontent.com/tupadr3/plantuml-icon-font-sprites/master/font-awesome-5
@@ -431,7 +431,7 @@ C4-PlantUML offers predefined person and robot sprites which can be directly use
431
431
432
432
``` plantuml
433
433
@startuml
434
- !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master /C4_Component.puml
434
+ !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/v2.5.0 /C4_Component.puml
435
435
436
436
Person(pB, "Sam", $sprite="person2")
437
437
Person_Ext(pA, "Bob", $sprite="person")
@@ -458,7 +458,7 @@ Color of the displayed images can be changed with `,color={color}`.
458
458
459
459
``` plantuml
460
460
@startuml
461
- !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master /C4_Container.puml
461
+ !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/v2.5.0 /C4_Container.puml
462
462
463
463
'stdlib users.puml defines sprite "users"
464
464
!include <office/users/users.puml>
@@ -490,7 +490,7 @@ Relationship specific sprites are typically smaller and therefore following opti
490
490
491
491
``` plantuml
492
492
@startuml
493
- !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master /C4_Context.puml
493
+ !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/v2.5.0 /C4_Context.puml
494
494
495
495
Person(user, "User")
496
496
Person(user1, "User 1")
@@ -611,7 +611,7 @@ Like the element specific tag definitions exist boundary specific calls with the
611
611
612
612
``` plantuml
613
613
@startuml
614
- !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master /C4_Container.puml
614
+ !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/v2.5.0 /C4_Container.puml
615
615
616
616
UpdateElementStyle(person, $fontColor="green")
617
617
AddElementTag("v1.0", $fontColor="#d73027", $borderColor="#d73027")
@@ -657,7 +657,7 @@ SHOW_LEGEND(false)
657
657
658
658
``` plantuml
659
659
@startuml
660
- !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master /C4_Container.puml
660
+ !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/v2.5.0 /C4_Container.puml
661
661
662
662
!define osaPuml https://raw.githubusercontent.com/Crashedmind/PlantUML-opensecurityarchitecture2-icons/master
663
663
!include osaPuml/Common.puml
@@ -716,7 +716,7 @@ SHOW_LEGEND()
716
716
717
717
``` plantuml
718
718
@startuml
719
- !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master /C4_Component.puml
719
+ !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/v2.5.0 /C4_Component.puml
720
720
721
721
' Update the generic boundary style and the "system", "enterprise", "container" boundaries styles too
722
722
UpdateBoundaryStyle($bgColor="gold", $fontColor="brown", $borderColor="brown")
@@ -767,7 +767,7 @@ If the custom (color) schema is defined via `UpdateElementStyle()` then the lege
767
767
768
768
``` plantuml
769
769
@startuml
770
- !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master /C4_Context.puml
770
+ !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/v2.5.0 /C4_Context.puml
771
771
772
772
!$COLOR_A_5 = "#7f3b08"
773
773
!$COLOR_A_4 = "#b35806"
@@ -821,7 +821,7 @@ Following sample uses all 3 different property definitions (and the aligned depl
821
821
822
822
``` plantuml
823
823
@startuml
824
- !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master /C4_Deployment.puml
824
+ !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/v2.5.0 /C4_Deployment.puml
825
825
826
826
' default header Property, Value
827
827
AddProperty("Name", "Flash")
@@ -861,7 +861,7 @@ C4-PlantUML offers version information like PlantUML with its `%version()` call.
861
861
862
862
``` plantuml
863
863
@startuml
864
- !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master /C4_Container.puml
864
+ !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/v2.5.0 /C4_Container.puml
865
865
866
866
' existing plantuml version as text
867
867
%version()
0 commit comments