#945 Rendering of composite state in a box

This commit is contained in:
Knut Sveidqvist
2019-10-03 19:08:15 +02:00
parent f9f8785aef
commit 7865fd4f02
4 changed files with 274 additions and 45 deletions

View File

@@ -59,12 +59,15 @@ describe('State diagram', () => {
imgSnapshotTest(
`
stateDiagram
[*] --> NotShooting
[*] --> NotShooting: Pacifist
NotShooting --> A
NotShooting --> B
NotShooting --> C
state NotShooting {
[*] --> Idle
[*] --> Idle: Yet another long long öong öong öong label
Idle --> Configuring : EvConfig
Configuring --> Idle : EvConfig
Configuring --> Idle : EvConfig EvConfig EvConfig EvConfig EvConfig
}
`,
{ logLevel: 0 }