Update stateDiagram.md
Add renamed composite as an example of composites with spaced names.
This commit is contained in:
parent
3809732e48
commit
8d9cb09261
|
@ -107,6 +107,14 @@ stateDiagram-v2
|
|||
[*] --> second
|
||||
second --> [*]
|
||||
}
|
||||
|
||||
[*] --> NamedComposite
|
||||
NamedComposite: Another Composite
|
||||
state NamedComposite {
|
||||
[*] --> namedSimple
|
||||
namedSimple --> [*]
|
||||
namedSimple: Another simple
|
||||
}
|
||||
```
|
||||
|
||||
You can do this in several layers:
|
||||
|
|
Loading…
Reference in New Issue