stateDiagram-v2 direction LR [*] --> Active state Active { direction BT [*] --> Inner Inner --> NumLockOn : EvNumLockPressed } %% Outer --> Inner
stateDiagram StateID
stateDiagram direction LR [*] --> A A --> B B --> C state B { direction LR a --> b } B --> D