mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
51858c02eb
Jasmine tests running in browser via karma.
29 lines
895 B
HTML
29 lines
895 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.initialize({
|
|
arrowMarkerAbsolute:true
|
|
});
|
|
</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> |