Skip to content

Commit

Permalink
Merge pull request #3272 from Olshansk/patch-1
Browse files Browse the repository at this point in the history
Example of spaces in stateDiagram
  • Loading branch information
knsv committed Aug 4, 2022
2 parents 6f7670e + f5c2901 commit c3aad38
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/stateDiagram.md
Expand Up @@ -249,3 +249,13 @@ stateDiagram-v2
## Styling

Styling of the a state diagram is done by defining a number of css classes. During rendering these classes are extracted from the file located at src/themes/state.scss

## Spaces in state names

Spaces can be added to a state by defining it at the top and referencing the acronym later.

```mermaid-example
stateDiagram-v2
Yswsii: Your state with spaces in it
[*] --> Yswsii
```

0 comments on commit c3aad38

Please sign in to comment.