Login
Remember
Register
PlantUML Q&A
All Activity
Questions
Hot!
Unanswered
Tags
Users
Ask a Question
Ask a Question
"Alt, else" boxes background colors
+1
vote
asked
Jul 12, 2016
in
Closed question / help
by
anonymous
Hi! My diagram has got a lot of loop alt end else boxes. It's hard to read and I would like to add different colours to these boxes. How can I do this?
else
alt
background-color
sequence-diagram
commented
Nov 6, 2018
by
mikhail
If there is the possibility of automatic apply of safe color/palette and pattern? For example shades of green for successful and red for errors.
Your comment on this question:
Your name to display (optional):
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
Your answer
Your name to display (optional):
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail]
(--------)
To avoid this verification in future, please
log in
or
register
.
1 Answer
+1
vote
answered
Dec 3, 2016
by
anonymous
alt
#Red auth
end
commented
Sep 21, 2018
by
michael.krauklis
(
100
points)
Perfect, thank you! It should be noted that this works for other "group" types, including group, loop, etc. Also, you can specify the color on an else clause. e.g.
alt #green Success
' Success statements
else #red Failure
' Failure statements
end
commented
Oct 21, 2024
by
Ellen
Is it possible to only color the outline and not fill in the box itself?
commented
Oct 21, 2024
by
The-Lu
(
76,620
points)
Hi E.,
Yes, see:
https://forum.plantuml.net/15845/how-to-style-groups-alt-loop-etc-using-skin-params
Regards,
Th.
Your comment on this answer:
Your name to display (optional):
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
Related questions
I cant change the size of "alt" and "else" in sequence diagram in online editor.
Restoring drawing context for alt/else in sequence diagram
Can we format groups or have different styles for group/alt?
Transparent background colours on Alt/Else elements
Repeating Return = Nowhere to return to
All categories
Question / help
(1,589)
Bug
(1,691)
Wanted features
(1,452)
Closed question / help
(89)
Closed bug
(53)
Closed feature request
(130)
Won't fix
(3)
Won't implement
(13)
Can't help
(9)
To be deleted
(10)
To be sorted
(430)
...