Wener Site

mermaid

约 1 分钟阅读
type
graphFlow
sequenceDiagramSequence
classDiagramClass
stateDiagram-v2State
ganttGantt
piePie
erDiagramER
gitGraphGit
journeyUserJourney
flowchart
graph TD
    A-->B
    A-->C
    B-->D
    C-->D

gantt

API

html
<pre class="mermaid">
    graph LR
    A --- B
    B-->C[fa:fa-ban forbidden]
    B-->D(fa:fa-spinner);
</pre>

<style>
  div.mermaid {
    font-family: 'trebuchet ms', verdana, arial;
  }
</style>
<script type="module">
  import mermaid from 'https://unpkg.com/mermaid@9/dist/mermaid.esm.min.mjs';
  mermaid.initialize({ startOnLoad: true });
</script>

关联信息

反向链接和本文引用的外部资料。

References

GitHub

2 条

其他外链

1 条
最近更新commit 81de749Edit

On this page