First of all. Great software. Thank you.
I was looking for an example of a state diagram where one sub-state has a transition to sub-state of a different state. I couldn't find one so I think the following should be added to the example page for state diagrams:
@startuml
scale 350 width
state A {
state X {
}
state Y {
}
X --> Z
}
state B {
state Z {
}
Z --> Y
}
}
@enduml