mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-28 07:03:17 +08:00
28 lines
887 B
HTML
28 lines
887 B
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta charset="utf-8">
|
||
|
<title></title>
|
||
|
<link rel="stylesheet" type="text/css" href="https://rawgit.com/knsv/mermaid/master/dist/mermaid.css">
|
||
|
<base href="XXX"/>
|
||
|
<script src="../../dist/mermaid.js"></script>
|
||
|
</head><body>
|
||
|
<script>
|
||
|
mermaid.startOnLoad=true;
|
||
|
//mermaid.initialize();
|
||
|
</script>
|
||
|
<div class="mermaid">
|
||
|
graph LR;
|
||
|
A-->B;
|
||
|
B-->C;
|
||
|
</div>
|
||
|
<div class="mermaid">
|
||
|
sequenceDiagram
|
||
|
Merchant->>Customer: foo
|
||
|
Note right of Person: Bob thinks a long long time, so long that the text does not fit In a row. Bob thinks a long long time, so long that the text does not fit In a row. Bob thinks a long long time, so long that the text does not fit In a row. Bob thinks a long long time, so long that the text does not fit In a row.
|
||
|
|
||
|
Person-->>Customer: bar
|
||
|
|
||
|
Note left of Person: Foo checks up on him
|
||
|
</div>
|
||
|
</body></html>
|