mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-18 14:59:53 +02:00
Docs
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
<h1>Journey diagram demo</h1>
|
<h1>Journey diagram demo</h1>
|
||||||
<pre class="mermaid">
|
<pre class="mermaid">
|
||||||
---
|
---
|
||||||
title: My working day
|
title: My working day
|
||||||
---
|
---
|
||||||
journey
|
journey
|
||||||
accTitle: Very simple journey demo
|
accTitle: Very simple journey demo
|
||||||
|
@@ -32,7 +32,7 @@ const getStyles = (options) =>
|
|||||||
text-anchor: middle;
|
text-anchor: middle;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
fill: ${options.textColor};
|
fill: ${options.textColor};
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
export default getStyles;
|
export default getStyles;
|
||||||
|
@@ -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**.
|
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`)
|
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.)
|
(**yswsii** has been styled so that it is different from the other states.)
|
||||||
|
|
||||||
```mermaid-example
|
```mermaid-example
|
||||||
|
Reference in New Issue
Block a user