stateDiagram-v2
[*] --> ONLINE
state ONLINE {
[*] --> OKAY
OKAY --> OVERHEAT
--
[*] --> A
A --> B
B --> A
}
OVERHEAT --> OFFLINE : on timer
This says "syntax error":
stateDiagram-v2
[*] --> ONLINE
state ONLINE {
[*] --> A
A --> B
B --> A
--
[*] --> OKAY
OKAY --> OVERHEAT
}
OVERHEAT --> OFFLINE : on timer
Looks like escaping a composite only works in the first orthogonal region? Not sure if a bug, but not very intuitive and took a while to figure out why am I getting "syntax error".
This works:
This says "syntax error":
Looks like escaping a composite only works in the first orthogonal region? Not sure if a bug, but not very intuitive and took a while to figure out why am I getting "syntax error".