how to attach note to arrows in state diagram

0 votes
asked Mar 24, 2018 in Question / help by Leonid Y
I would like to attach a note to state-transition(or its text) in the state diagram. How can I do it?
The documentation describes only a note that is attached to specific state and "floating" note that cannot be aligned on a complex diagram.

1 Answer

0 votes
answered Jul 29, 2020 by The-Lu (49,840 points)

Hello L.,

Adaped from:

We can use (tested on v1.2020.15):

[*] -> State1
State1 --> State2
note on link
  this is a state-transition note
end note

[click to see on PlantUML server]

[to be added to the documentation wink]
If that can help,