forked from Red54/plantumlqeditor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
assistant.xml
2523 lines (2320 loc) · 84.1 KB
/
assistant.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0"?>
<!--
1. Don't add @start... or @end... .
2. Use temp. @startuml notation and use ditaa/jcckit/digraph/graph in the first line.
<assistants>
<assistant name="Assistant Name">
<item name="Item Name 1"><![CDATA[
]]></item>
<item name="Item Name 2"><![CDATA[
<notes>Optional notes</notes>
</item>
</assistants>
</assistants>
-->
<assistants>
<assistant name="Class Diagrams">
<item name="TEST"><![CDATA[
class Test1
Test1 -> Test2
Test2 -> Test3
Test2 <-- Test3
Test1 <-- Test2
]]>
<notes>A first simple example!</notes>
</item>
<item name="Relations"><![CDATA[
Class01 <|-- Class02
Class03 *-- Class04
Class05 o-- Class06
Class07 .. Class08
Class09 -- Class10
Class11 <|.. Class12
Class13 --> Class14
Class15 ..> Class16
Class17 ..|> Class18
Class19 <--* Class20
]]></item>
<item name="Label on relations"><![CDATA[
Class01 "1" *-- "many" Class02 : contains
Class03 o-- Class04 : agregation
Class05 --> "1" Class06
]]>
<notes><![CDATA[
<ul>
<li>To add a label, use <b>":"</b>, followed by the text of the label.
<li>For cardinality, you can use double-quotes <b>""</b> on each side of the relation.
</ul>
]]></notes>
</item>
<item name="Directed labels on relations"><![CDATA[
class Car
Driver - Car : drives >
Car *- Wheel : have 4 >
Car -- Person : < owns
]]></item>
<item name="Adding methods"><![CDATA[
Object <|-- ArrayList
Object : equals()
ArrayList : Object[] elementData
ArrayList : size()
]]></item>
<item name="Adding methods with brackets"><![CDATA[
class Dummy {
String data
void methods()
}
]]></item>
<item name="Defining visibility"><![CDATA[
class Dummy {
-field1
#field2
~method1()
+method2()
}
]]></item>
<item name="Defining unskinned visibility"><![CDATA[
skinparam classAttributeIconSize 0
class Dummy {
-field1
#field2
~method1()
+method2()
}
]]></item>
<item name="Abstract and static"><![CDATA[
class Dummy {
{static} String id
{abstract} void methods()
}
]]></item>
<item name="Advanced class body"><![CDATA[
class Foo1 {
You can use
several lines
..
as you want
and group
==
things together.
__
You can have as many groups
as you want
--
End of class
}
class User {
.. Simple Getter ..
+ getName()
+ getAddress()
.. Some setter ..
+ setName()
__ private data __
int age
-- crypted --
String password
}
]]></item>
<item name="Notes and stereotypes"><![CDATA[
class Object << general >>
Object <|--- ArrayList
note top of Object : In java, every class\nextends this one.
note "This is a floating note" as N1
note "This note is connected\nto several objects." as N2
Object .. N2
N2 .. ArrayList
class Foo
note left: On last defined class
]]></item>
<item name="More on notes"><![CDATA[
class Foo
note left: On last defined class
note top of Object
In java, <size:18>every</size> <u>class</u>
<b>extends</b>
<i>this</i> one.
end note
note as N1
This note is <u>also</u>
<b><color:royalBlue>on several</color>
<s>words</s> lines
And this is hosted by <img:sourceforge.jpg>
end note
]]></item>
<item name="Note on links"><![CDATA[
class Dummy
Dummy --> Foo : A link
note on link #red: note that is red
Dummy --> Foo2 : Another link
note right on link #blue
this is my note on right link
and in blue
end note
]]></item>
<item name="Abstract class and interface"><![CDATA[
abstract class AbstractList
abstract AbstractCollection
interface List
interface Collection
List <|-- AbstractList
Collection <|-- AbstractCollection
Collection <|- List
AbstractCollection <|- AbstractList
AbstractList <|-- ArrayList
class ArrayList {
Object[] elementData
size()
}
enum TimeUnit {
DAYS
HOURS
MINUTES
}
]]></item>
<item name="Using non-letters"><![CDATA[
class "This is my class" as class1
class class2 as "It works this way too"
class2 *-- "foo/dummy" : use
]]></item>
<item name="Hide stuff"><![CDATA[
class Dummy1 {
+myMethods()
}
class Dummy2 {
+hiddenMethod()
}
class Dummy3 <<Serializable>> {
String name
}
hide members
hide <<Serializable>> circle
show Dummy1 method
show <<Serializable>> fields
]]></item>
<item name="Use generics"><![CDATA[
class Foo<? extends Element> {
int size()
}
Foo *- Element
]]></item>
<item name="Specific spot"><![CDATA[
class System << (S,#FF7700) Singleton >>
class Date << (D,orchid) >>
]]></item>
<item name="Packages"><![CDATA[
package "Classic Collections" #DDDDDD {
Object <|-- ArrayList
}
package net.sourceforge.plantuml {
Object <|-- Demo1
Demo1 *- Demo2
}
]]></item>
<item name="Packages styles"><![CDATA[
package foo1 <<Node>> {
class Class1
}
package foo2 <<Rect>> {
class Class2
}
package foo3 <<Folder>> {
class Class3
}
package foo4 <<Frame>> {
class Class4
}
package foo5 <<Cloud>> {
class Class5
}
package foo6 <<Database>> {
class Class6
}
]]></item>
<item name="Links between packages"><![CDATA[
skinparam packageStyle rect
package foo1.foo2 {
}
package foo1.foo2.foo3 {
class Object
}
foo1.foo2 +-- foo1.foo2.foo3
]]></item>
<item name="Namespaces"><![CDATA[
class BaseClass
namespace net.dummy #DDDDDD {
.BaseClass <|-- Person
Meeting o-- Person
.BaseClass <|- Meeting
}
namespace net.foo {
net.dummy.Person <|- Person
.BaseClass <|-- Person
net.dummy.Meeting o-- Person
}
BaseClass <|-- net.unused.Person
]]></item>
<item name="Lollipop interface"><![CDATA[
class foo
bar ()- foo
]]></item>
<item name="Changing arrows direction 1"><![CDATA[
Room o- Studient
Room *-- Chair
]]></item>
<item name="Changing arrows direction 2"><![CDATA[
Studient -o Room
Chair --* Room
]]></item>
<item name="Changing arrows direction 3"><![CDATA[
foo -left-> dummyLeft
foo -right-> dummyRight
foo -up-> dummyUp
foo -down-> dummyDown
]]></item>
<item name="Title"><![CDATA[
title Simple <b>example</b>\nof title
Object <|-- ArrayList
]]></item>
<item name="Association classes 1"><![CDATA[
class Student {
Name
}
Student "0..*" - "1..*" Course
(Student, Course) .. Enrollment
class Enrollment {
drop()
cancel()
}
]]></item>
<item name="Association classes 2"><![CDATA[
class Student {
Name
}
Student "0..*" -- "1..*" Course
(Student, Course) . Enrollment
class Enrollment {
drop()
cancel()
}
]]></item>
<item name="Skinparam"><![CDATA[
skinparam class {
BackgroundColor PaleGreen
ArrowColor SeaGreen
BorderColor SpringGreen
}
skinparam stereotypeCBackgroundColor YellowGreen
Class01 "1" *-- "many" Class02 : contains
Class03 o-- Class04 : agregation
]]></item>
</assistant>
<assistant name="Sequence Diagrams">
<item name="Simple sequence"><![CDATA[
skinparam sequenceArrowThickness 2
skinparam maxmessagesize 80
'skinparam roundcorner 20
'skinparam sequenceParticipant underline
Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response
Alice -> Bob: Another authentication Request
Alice <-- Bob: another authentication Response
]]></item>
<item name="Declaring a participant"><![CDATA[
actor Bob #red
' The only difference between actor and participant is the drawing
participant Alice
participant "I have a really\nlong name" as L #99FF99
/' You can also declare:
participant L as "I have a really\nlong name" #99FF99
'/
Alice->Bob: Authentication Request
Bob->Alice: Authentication Response
Bob->L: Log transaction
]]></item>
<item name="Message to Self"><![CDATA[
Alice->Alice: This is a signal to self.\nIt also demonstrates\nmultiline \ntext
]]></item>
<item name="Change arrow style"><![CDATA[
Bob -> Alice
Bob ->> Alice
Bob -\ Alice
Bob \\- Alice
Bob //-- Alice
Bob ->o Alice
Bob o\\-- Alice
...
[-> Bob
[o-> Bob
[o->o Bob
[x-> Bob
[<- Bob
[x<- Bob
...
Alice ->]
Alice ->o]
Alice o->o]
Alice ->x]
Alice <-]
Alice x<-]
]]></item>
<item name="Message sequence numbering"><![CDATA[
autonumber
Bob -> Alice : Authentication Request
Bob <- Alice : Authentication Response
]]></item>
<item name="Message sequence numbering with a start"><![CDATA[
autonumber
Bob -> Alice : Authentication Request
Bob <- Alice : Authentication Response
autonumber 15
Bob -> Alice : Another authentication Request
Bob <- Alice : Another authentication Response
autonumber 40 10
Bob -> Alice : Yet another authentication Request
Bob <- Alice : Yet another authentication Response
]]></item>
<item name="Formatted message sequence numbering"><![CDATA[
autonumber "<b>[000]"
Bob -> Alice : Authentication Request
Bob <- Alice : Authentication Response
autonumber 15 "<b>(<u>##</u>)"
Bob -> Alice : Another authentication Request
Bob <- Alice : Another authentication Response
autonumber 40 10 "<font color=red><b>Message 0 "
Bob -> Alice : Yet another authentication Request
Bob <- Alice : Yet another authentication Response
]]></item>
<item name="Title"><![CDATA[
title Simple communication example
Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response
]]></item>
<item name="Grouping message"><![CDATA[
Alice -> Bob: Authentication Request
alt successful case
Bob -> Alice: Authentication Accepted
else some kind of failure
Bob -> Alice: Authentication Failure
group My own label
Alice -> Log : Log attack start
loop 1000 times
Alice -> Bob: DNS Attack
end
Alice -> Log : Log attack end
end
else Another type of failure
Bob -> Alice: Please repeat
end
]]></item>
<item name="Notes on messages"><![CDATA[
Alice->Bob : hello
note left: this is a first note
Bob->Alice : ok
note right: this is another note
Bob->Bob : I am thinking
note left
a note
can also be defined
on several lines
end note
]]></item>
<item name="Some other notes"><![CDATA[
participant Alice
participant Bob
note left of Alice #aqua
This is displayed
left of Alice.
end note
note right of Alice: This is displayed right of Alice.
note over Alice: This is displayed over Alice.
note over Alice, Bob #FFAAAA: This is displayed\n over Bob and Alice.
note over Bob, Alice
This is yet another
example of
a long note.
end note
]]></item>
<item name="Divider"><![CDATA[
== Initialisation ==
Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response
== Repetition ==
Alice -> Bob: Another authentication Request
Alice <-- Bob: another authentication Response
]]></item>
<item name="Space"><![CDATA[
Alice -> Bob: message 1
Bob --> Alice: ok
|||
Alice -> Bob: message 2
Bob --> Alice: ok
||45||
Alice -> Bob: message 3
Bob --> Alice: ok
]]></item>
<item name="Lifeline activation and destruction"><![CDATA[
participant User
User -> A: DoWork
activate A
A -> B: << createRequest >>
activate B
B -> C: DoWork
activate C
C --> B: WorkDone
destroy C
B --> A: RequestCreated
deactivate B
A -> User: Done
deactivate A
]]></item>
<item name="Nested lifeline activation and destruction"><![CDATA[
participant User
User -> A: DoWork
activate A #FFBBBB
A -> A: Internal call
activate A #DarkSalmon
A -> B: << createRequest >>
activate B
B --> A: RequestCreated
deactivate B
deactivate A
A -> User: Done
deactivate A
]]></item>
<item name="Participant creation"><![CDATA[
Bob -> Alice : hello
create Other
Alice -> Other : new
create String
Alice -> String
note right : You can also put notes!
Alice --> Bob : ok
]]></item>
<item name="Incomming and outgoing messages"><![CDATA[
[-> A: DoWork
activate A
A -> A: Internal call
activate A
A ->] : << createRequest >>
A<--] : RequestCreated
deactivate A
[<- A: Done
deactivate A
]]></item>
<item name="Stereotypes and spots"><![CDATA[
participant "Famous Bob" as Bob << Generated >>
participant Alice << (C,#ADD1B2) Testable >>
Bob->Alice: First message
]]></item>
<item name="Participants englober"><![CDATA[
box "Internal Service" #LightBlue
participant Bob
participant Alice
end box
participant Other
Bob -> Alice : hello
Alice -> Other : hello
]]></item>
<item name="Link with Tooltip"><![CDATA[
' SVG only: Link with Tooltip on message
Alice -> Bob : [[http://www.yahoo.com{Jason: {"firstName":"Bob", "lastName":"Smith"}}]] hello
]]></item>
<item name="Removing footer"><![CDATA[
hide footbox
title Footer removed
Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response
]]></item>
</assistant>
<assistant name="Use Case Diagrams">
<item name="Usecases"><![CDATA[
(First usecase)
(Another usecase) as (UC2)
usecase UC3
usecase (Last\nusecase) as UC4
]]></item>
<item name="Actors"><![CDATA[
:First Actor:
:Another\nactor: as Men2
actor Men3
actor :Last actor: as Men4
]]></item>
<item name="Basic example"><![CDATA[
User -> (Start)
User --> (Use the application) : A small label
:Main Admin: ---> (Use the application) : This is\nyet another\nlabel
]]></item>
<item name="Extension"><![CDATA[
:Main Admin: as Admin
(Use the application) as (Use)
User <|-- Admin
(Start) <|-- (Use)
]]></item>
<item name="Using notes"><![CDATA[
:Main Admin: as Admin
(Use the application) as (Use)
User -> (Start)
User --> (Use)
Admin ---> (Use)
note right of Admin : This is an example.
note right of (Use)
A note can also
be on several lines
end note
note "This note is connected\nto several objects." as N2
(Start) .. N2
N2 .. (Use)
]]></item>
<item name="Stereotypes"><![CDATA[
User << Human >>
:Main Database: as MySql << Application >>
(Start) << One Shot >>
(Use the application) as (Use) << Main >>
User -> (Start)
User --> (Use)
MySql --> (Use)
]]></item>
<item name="Changing arrows direction 1"><![CDATA[
:user: --> (Use case 1)
:user: -> (Use case 2)
]]></item>
<item name="Changing arrows direction 2"><![CDATA[
(Use case 1) <.. :user:
(Use case 2) <- :user:
]]></item>
<item name="Changing arrows direction 3"><![CDATA[
:user: -left-> (dummyLeft)
:user: -right-> (dummyRight)
:user: -up-> (dummyUp)
:user: -down-> (dummyDown)
]]></item>
<item name="Title"><![CDATA[
title Simple <b>Usecase</b>\nwith one actor
usecase (Use the application) as (Use)
User -> (Use)
]]></item>
<item name="Top to bottom direction"><![CDATA[
'default
top to bottom direction
user1 --> (Usecase 1)
user2 --> (Usecase 2)
]]></item>
<item name="Left to right direction"><![CDATA[
left to right direction
user1 --> (Usecase 1)
user2 --> (Usecase 2)
]]></item>
<item name="Complete example"><![CDATA[
left to right direction
skinparam packageStyle rect
actor customer
actor clerk
package checkout {
customer -- (checkout)
(checkout) .> (payment) : <>
(help) .> (checkout) : <>
(checkout) -- clerk
}
]]></item>
</assistant>
<assistant name="Component Diagram">
<item name="Components"><![CDATA[
[First component]
[Another component] as Comp2
component Comp3
component [Last\ncomponent] as Comp4
]]></item>
<item name="Interfaces"><![CDATA[
() "First Interface"
() "Another interface" as Interf2
interface Interf3
interface "Last\ninterface" as Interf4
]]></item>
<item name="Basic Example"><![CDATA[
DataAccess - [First Component]
[First Component] ..> HTTP : use
]]></item>
<item name="Using notes"><![CDATA[
interface "Data Access" as DA
DA - [First Component]
[First Component] ..> HTTP : use
note left of HTTP : Web Service only
note right of [First Component]
A note can also
be on several lines
end note
]]></item>
<item name="Grouping Components"><![CDATA[
package "Some Group" {
HTTP - [First Component]
[Another Component]
}
node "Other Groups" {
FTP - [Second Component]
[First Component] --> FTP
}
cloud {
[Example 1]
}
database "MySql" {
folder "This is my folder" {
[Folder 3]
}
frame "Foo" {
[Frame 4]
}
}
[Another Component] --> [Example 1]
[Example 1] --> [Folder 3]
[Folder 3] --> [Frame 4]
]]></item>
<item name="Changing arrows direction 1"><![CDATA[
[Component] --> Interface1
[Component] -> Interface2
]]></item>
<item name="Changing arrows direction 2"><![CDATA[
Interface1 <-- [Component]
Interface2 <- [Component]
]]></item>
<item name="Changing arrows direction 3"><![CDATA[
[Component] -left-> left
[Component] -right-> right
[Component] -up-> up
[Component] -down-> down
]]></item>
<item name="Title the diagram"><![CDATA[
title Very simple component\ndiagram
interface "Data Access" as DA
DA - [First Component]
[First Component] ..> HTTP : use
]]></item>
<item name="Use UML2 notation"><![CDATA[
skinparam componentStyle uml2
interface "Data Access" as DA
DA - [First Component]
[First Component] ..> HTTP : use
]]></item>
<item name="Deployment Diagram"><![CDATA[
artifact artifact
actor actor
folder folder
node node
frame frame
cloud cloud
database database
storage storage
agent agent
usecase usecase
component component
boundary boundary
control control
entity entity
interface interface
]]></item>
<item name="Linking 1"><![CDATA[
node node1
node node2
node node3
node node4
node node5
node1 -- node2
node1 .. node3
node1 ~~ node4
node1 == node5
]]></item>
<item name="Linking 2"><![CDATA[
artifact artifact1
artifact artifact2
artifact artifact3
artifact artifact4
artifact artifact5
artifact artifact6
artifact artifact7
artifact artifact8
artifact artifact9
artifact artifact10
artifact1 --> artifact2
artifact1 --* artifact3
artifact1 --o artifact4
artifact1 --+ artifact5
artifact1 --# artifact6
artifact1 -->> artifact7
artifact1 --0 artifact8
artifact1 --^ artifact9
artifact1 --(0 artifact10
]]></item>
<item name="Linking 3"><![CDATA[
cloud cloud1
cloud cloud2
cloud cloud3
cloud cloud4
cloud cloud5
cloud1 -0- cloud2
cloud1 -0)- cloud3
cloud1 -(0- cloud4
cloud1 -(0)- cloud5
]]></item>
<item name="Packages"><![CDATA[
artifact FooA1 {
folder FooA2
}
folder FooA3 {
artifact FooA4
}
frame FooA5 {
database FooA6
}
node FooB1 {
cloud FooB2
}
cloud FooB3 {
frame FooB4
}
database FooB5 {
storage FooB6
}
storage FooB7 {
storage FooB8
}
]]></item>
<item name="Separators"><![CDATA[
folder folder [
This is an <b>folder
----
You can use separator
====
of different kind
....
and style
]
node node [
This is a <b>node
----
You can use separator
====
of different kind
....
and style
]
database database [
This is a <b>database
----
You can use separator
====
of different kind
....
and style
]
usecase usecase [
This is a <b>usecase
----
You can use separator
====
of different kind
....
and style
]
]]></item>
<item name="Skinparam 1"><![CDATA[
skinparam component {
FontSize 13
InterfaceBackgroundColor RosyBrown
InterfaceBorderColor orange
BackgroundColor<<Apache>> Red
BorderColor<<Apache>> #FF6655
FontName Courier
BorderColor black
BackgroundColor gold
ArrowFontName Impact
ArrowColor #FF6655
ArrowFontColor #777777
}
() "Data Access" as DA
DA - [First Component]
[First Component] ..> () HTTP : use
HTTP - [Web Server] << Apache >>
]]></item>
<item name="Skinparam 2"><![CDATA[
[AA] <<static lib>>
[BB] <<shared lib>>
[CC] <<static lib>>
node node1
node node2 <<shared node>>
database Production
skinparam component {
backgroundColor<<static lib>> DarkKhaki
backgroundColor<<shared lib>> Green
}
skinparam node {
borderColor Green
backgroundColor Yellow
backgroundColor<<shared node>> Magenta
}
skinparam databaseBackgroundColor Aqua
]]></item>
<item name="Colored components"><![CDATA[
@startuml
hide stereotype
skinparam component {
backgroundColor<<1>> Pink
backgroundColor<<2>> Green
FontColor<<1>> White
FontColor<<2>> Black
}
package "SYSTEM1" {
[ComponentBox] <<1>>
[AnotherCompBox] <<2>>
@enduml
]]></item>
</assistant>
<assistant name="Activity Diagram">
<item name="Simple Activity"><![CDATA[