Skip to content

Commit edf4bc7

Browse files
committed
add new ActivationBox style
1 parent 6b9c41f commit edf4bc7

File tree

2 files changed

+160
-0
lines changed

2 files changed

+160
-0
lines changed
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
{
2+
"sha1": "b3a1fxuqmgc4wi8c6b2s7as6gzzd5b0",
3+
"insertion": {
4+
"when": "2025-07-17T18:50:11.453Z",
5+
"url": "https://github.com/plantuml/plantuml/issues/1109",
6+
7+
}
8+
}
9+
@startuml
10+
!pragma teoz true
11+
12+
hide stereotype
13+
<style>
14+
.alice, .charlie {
15+
actor {
16+
FontColor: Black;
17+
}
18+
participant {
19+
FontColor: White;
20+
}
21+
BackGroundColor: #29284F;
22+
lifeline {
23+
LineColor: #29284F;
24+
}
25+
26+
activationBox {
27+
BackGroundColor: green;
28+
LineColor: red;
29+
}
30+
31+
}
32+
33+
.bob {
34+
actor {
35+
FontColor: Black;
36+
}
37+
participant {
38+
FontColor: White;
39+
}
40+
BackGroundColor: #EE0351;
41+
lifeline {
42+
LineColor: #EE0351;
43+
}
44+
activationBox {
45+
BackGroundColor: yellow;
46+
LineColor: red;
47+
}
48+
}
49+
</style>
50+
51+
participant Alice <<alice>>
52+
participant Bob <<bob>>
53+
participant Charlie <<charlie>>
54+
55+
Alice -> Bob++: 100
56+
57+
Alice -> Bob: 200
58+
59+
<style>
60+
.bob {
61+
activationBox {
62+
BackGroundColor: blue;
63+
LineColor: red;
64+
}
65+
}
66+
</style>
67+
68+
69+
Alice -> Bob++ : 300
70+
return ok300
71+
72+
73+
Alice -> Charlie++ : 350
74+
return ok350
75+
76+
Alice -> Bob: 400
77+
78+
79+
Alice <- Bob--: 500
80+
81+
@enduml
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
{
2+
"sha1": "i4knh16immyenn13purzo4f9t5tcoh1",
3+
"insertion": {
4+
"when": "2025-07-17T18:50:11.373Z",
5+
"url": "https://github.com/plantuml/plantuml/issues/1109",
6+
7+
}
8+
}
9+
@startuml
10+
hide stereotype
11+
<style>
12+
.alice, .charlie {
13+
actor {
14+
FontColor: Black;
15+
}
16+
participant {
17+
FontColor: White;
18+
}
19+
BackGroundColor: #29284F;
20+
lifeline {
21+
LineColor: #29284F;
22+
}
23+
24+
activationBox {
25+
BackGroundColor: green;
26+
LineColor: red;
27+
}
28+
29+
}
30+
31+
.bob {
32+
actor {
33+
FontColor: Black;
34+
}
35+
participant {
36+
FontColor: White;
37+
}
38+
BackGroundColor: #EE0351;
39+
lifeline {
40+
LineColor: #EE0351;
41+
}
42+
activationBox {
43+
BackGroundColor: yellow;
44+
LineColor: red;
45+
}
46+
}
47+
</style>
48+
49+
participant Alice <<alice>>
50+
participant Bob <<bob>>
51+
participant Charlie <<charlie>>
52+
53+
Alice -> Bob++: 100
54+
55+
Alice -> Bob: 200
56+
57+
<style>
58+
.bob {
59+
activationBox {
60+
BackGroundColor: blue;
61+
LineColor: red;
62+
}
63+
}
64+
</style>
65+
66+
67+
Alice -> Bob++ : 300
68+
return ok300
69+
70+
71+
Alice -> Charlie++ : 350
72+
return ok350
73+
74+
Alice -> Bob: 400
75+
76+
77+
Alice <- Bob--: 500
78+
79+
@enduml

0 commit comments

Comments
 (0)