Login
Remember
Register
PlantUML Q&A
All Activity
Questions
Hot!
Unanswered
Tags
Users
Ask a Question
Ask a Question
Set color for arrows
0
votes
asked
Dec 27, 2012
in
Closed bug
by
anonymous
Is there a way to set different color for some arrows (messages) in Sequence Diagram?
sequence
diagram
arrow
color
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
0
votes
answered
Jan 2, 2013
by
plantuml
(
295,800
points)
This has been implemented in version 7948 :
http://plantuml.sourceforge.net/sequence.html#ColorArrow
commented
Jan 3, 2013
by
anonymous
Just downloaded 7948 and tried it, but it's not color the transition as specified. Below is the syntax I used:
N_971165098 -[#red]> N_1496084886: ShowShoppingCart
N_1496084886 -[#red]> N_971165098: ContinueShopping
Did I have the right syntax?
commented
Jan 3, 2013
by
plantuml
(
295,800
points)
There is something strange. I've checked you example, and the arrow are drawn in red with V7948.
@startuml
N_971165098 -[#red]> N_1496084886: ShowShoppingCart
N_1496084886 -[#red]> N_971165098: ContinueShopping
@enduml
See:
http://www.plantuml.com/plantuml/img/yuktD3SqD3CriBHGq8rMBafDYRLJy8itDB4qCx0miR0mir88piWl1-A2WioyTEV4eX9UBcHvP5rmewmKdFFpIZBpIbDX6W40
Could you doublecheck that you are using V7948 ?
commented
Jan 4, 2013
by
anonymous
I double check plantuml.jar and it is v7948 (run it to bring up ui and it shows the build number is 7948).
Is there anything else I can check/try?
commented
Jan 4, 2013
by
anonymous
I think I found what's causing it not to work. I was using "skin BlueModern" and apparently the arrow style set by BlueModern takes the precedent. As soon as I removed the skin BlueModern, the arrows are now colored correctly.
Is there anyway to use the skin but allow arrow color to be changed for some of the arrows?
commented
Jan 6, 2013
by
plantuml
(
295,800
points)
Ok, this is a bug : we will investigate about this.
commented
Jan 12, 2013
by
plantuml
(
295,800
points)
This has been fixed in version V7949.
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
Set arrow color and style in Activity Diagram
How to set color and direction of arrow in component diagram?
How to change color (or thickness, or style) of arrows, in gantt diagram?
Class diagram with color coded arrows
Font Color in Participants
All categories
Question / help
(1,575)
Bug
(1,686)
Wanted features
(1,451)
Closed question / help
(88)
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)
...