Activity diagram set background color on specific note

0 votes
asked Oct 28 in Question / help by gsilva (170 points)
hello,
How can I set a background color on a specific note in the activity diagram?

1 Answer

0 votes
answered Oct 28 by albert (2,510 points)

Something like:

@startuml
(*) --> "Some Activity"
note right   #CCCCEE
This activity has to be defined
end note
"Some Activity" --> (*)
note left
 This note is on
 several lines
end note
@enduml

http://www.plantuml.com/plantuml/png/NSvH2i8m30RWzvpYPxwei2l8H7O2lK1rcGrqBJHnuEsDLH3iInD8lZ-3MgZsM19jzplq_G7TkIoCuyra5Njsb8ingjoZ0TYS_8qZNQ8emdS6CIYiuCgOU9RC4t6Uy5waFwqbUD97JJmReLcjzxzaWlBADIGaf_H73LxveIy0

See: http://www.plantuml.com/plantuml/uml/NSvH2i8m30RWzvpYPxwei2l8H7O2lK1rcGrqBJHnuEsDLH3iInD8lZ-3MgZsM19jzplq_G7TkIoCuyra5Njsb8ingjoZ0TYS_8qZNQ8emdS6CIYiuCgOU9RC4t6Uy5waFwqbUD97JJmReLcjzxzaWlBADIGaf_H73LxveIy0

...