mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-14 09:44:51 +01:00
@@ -125,7 +125,7 @@ stateDiagram-v2
|
|||||||
In a real world use of state diagrams you often end up with diagrams that are multi-dimensional as one state can
|
In a real world use of state diagrams you often end up with diagrams that are multi-dimensional as one state can
|
||||||
have several internal states. These are called composite states in this terminology.
|
have several internal states. These are called composite states in this terminology.
|
||||||
|
|
||||||
In order to define a composite state you need to use the state keyword followed by and id and the body of the composite state between \{\}. See the example below:
|
In order to define a composite state you need to use the state keyword followed by an id and the body of the composite state between \{\}. See the example below:
|
||||||
|
|
||||||
```
|
```
|
||||||
stateDiagram-v2
|
stateDiagram-v2
|
||||||
|
|||||||
Reference in New Issue
Block a user