In state diagram I have long descriptions for some transitions. I want them to be wrapped automatically. Can I do it with any style of styling now?
I tried to use
<style>
arrow {
WordWrap 150
}
</style>
but it seems to have no effect
UPD. full example:
@startuml
skin rose
left to right direction
<style>
arrow {
WordWrap 20
fontcolor #green
}
</style>
state a
state b
[*] -> a
a -> b : very long status transition description that I want to be wrapped but it won't despite I try to use styling for arrow and it affects the arrow label font color
b -> [*]
@enduml
the solution is to use
skinparam maxmessagesize 180
it affects arrow labels in state diagrams also