This commit is contained in:
Sidharth Vinod 2022-11-23 15:57:50 +05:30
parent ab81b508ce
commit 01a24296b6
No known key found for this signature in database
GPG Key ID: FB5CCD378D3907CD
3 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@
<h1>Journey diagram demo</h1>
<pre class="mermaid">
---
title: My working day
title: My working day
---
journey
accTitle: Very simple journey demo

View File

@ -32,7 +32,7 @@ const getStyles = (options) =>
text-anchor: middle;
font-size: 18px;
fill: ${options.textColor};
}
}
`;
export default getStyles;

View File

@ -396,7 +396,7 @@ Spaces can be added to a state by first defining the state with an id and then r
In the following example there is a state with the id **yswsii** and description **Your state with spaces in it**.
After it has been defined, **yswsii** is used in the diagram in the first transition (`[*] --> yswsii`)
and also in the transition to **YetAnotherState** (`yswsii --> YetAnotherState`).
and also in the transition to **YetAnotherState** (`yswsii --> YetAnotherState`).
(**yswsii** has been styled so that it is different from the other states.)
```mermaid-example