(--------)
Hello L.,
Adaped from: https://forum.plantuml.net/7855/notes-on-arrow?show=7858#a7858
We can use (tested on v1.2020.15):
@startuml [*] -> State1 State1 --> State2 note on link this is a state-transition note end note @enduml
[click to see on PlantUML server]
[to be added to the documentation ]If that can help,Regards,Th.