note linked to activity lose color and tail when more than one note is defined on same side

0 votes
asked Jul 22, 2019 in Bug by ggmimi

Hello,

I can't manage to display more than one colored note on same side of an activity whith already existing note.

Both note loose color and are displayed with note's default color, and loose their litle tail :

This can be reproduced with this simple example :

@startuml
start
:a1;
note right #blue
note1
end note
note right #red
note2
end note
:a2;
stop
@enduml

Is there a way to display many colored notes on same side of activities, like with state diagrams ?

@startuml

state state1 #hotpink

state1 -[#hotpink]-> state2 : <color:#hotpink><b>example</b></color>
state2 --> state3 : text2

note left of state1 #blue
test
end note

note left of state1 #pink
test2
end note

note right of state1
test2
end note
@enduml

Best Regards

1 Answer

0 votes
answered Nov 26, 2020 by The-Lu (64,340 points)

Hello G.,

Just to answer to an old unanswered question (and confirm that is now OK: tested on v1.2020.20), with:

@startuml
start
:a1;
note right #blue
note1
end note
note right #red
note2
end note
:a2;
stop
@enduml

Thank to the works of PlantUML team,
Regards,
Th.

...