Skip to content

Commit

Permalink
Update example
Browse files Browse the repository at this point in the history
  • Loading branch information
sylhare committed Nov 28, 2024
1 parent 462f06d commit 337068e
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions _posts/2016-12-03-Mermaid.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,15 @@ sequenceDiagram
### Flow

```mermaid
%%{
init: {
'theme': 'base',
'themeVariables': {
'lineColor': '#F8B229'
}
}
}%%
flowchart TD
A[Christmas] -->|Get money| B(Go shopping)
B --> C{Let me think}
Expand All @@ -65,6 +74,15 @@ flowchart TD
### Class

```mermaid
%%{
init: {
'theme': 'base',
'themeVariables': {
'lineColor': '#F8B229'
}
}
}%%
classDiagram
Animal <|-- Duck
Animal <|-- Fish
Expand All @@ -91,6 +109,15 @@ classDiagram
### State

```mermaid
%%{
init: {
'theme': 'base',
'themeVariables': {
'lineColor': '#F8B229'
}
}
}%%
stateDiagram-v2
[*] --> Still
Still --> [*]
Expand Down

0 comments on commit 337068e

Please sign in to comment.