chore(lib): update mermaid 8.5.1 -> 9.0.1

This commit is contained in:
Dillon
2022-05-07 15:36:44 +08:00
parent 7f5bcda006
commit 857047a7a1
24 changed files with 80 additions and 1074 deletions

View File

@@ -464,44 +464,34 @@ Example **git graph** `mermaid` input:
```markdown
{{</* mermaid */>}}
gitGraph:
options
{
"nodeSpacing": 100,
"nodeRadius": 10
}
end
commit
branch newbranch
checkout newbranch
gitGraph
commit
commit
checkout master
branch develop
checkout develop
commit
commit
checkout main
merge develop
commit
commit
merge newbranch
{{</* /mermaid */>}}
```
The rendered output looks like this:
{{< mermaid >}}
gitGraph:
options
{
"nodeSpacing": 100,
"nodeRadius": 10
}
end
commit
branch newbranch
checkout newbranch
gitGraph
commit
commit
checkout master
branch develop
checkout develop
commit
commit
checkout main
merge develop
commit
commit
merge newbranch
{{< /mermaid >}}
### 5.7 Pie {#pie}

View File

@@ -467,44 +467,34 @@ stateDiagram
```markdown
{{</* mermaid */>}}
gitGraph:
options
{
"nodeSpacing": 100,
"nodeRadius": 10
}
end
commit
branch newbranch
checkout newbranch
gitGraph
commit
commit
checkout master
branch develop
checkout develop
commit
commit
checkout main
merge develop
commit
commit
merge newbranch
{{</* /mermaid */>}}
```
呈现的输出效果如下:
{{< mermaid >}}
gitGraph:
options
{
"nodeSpacing": 100,
"nodeRadius": 10
}
end
commit
branch newbranch
checkout newbranch
gitGraph
commit
commit
checkout master
branch develop
checkout develop
commit
commit
checkout main
merge develop
commit
commit
merge newbranch
{{< /mermaid >}}
### 5.7 饼图 {#pie}