mirror of
https://github.com/mermaid-js/mermaid.git
synced 2024-09-12 04:22:50 +02:00
38 lines
838 B
HTML
38 lines
838 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
<title>Mermaid Quick Test Page</title>
|
|
<link rel="icon" type="image/png" href="data:image/png;base64,iVBORw0KGgo=" />
|
|
<style>
|
|
body {
|
|
font-family: 'trebuchet ms', verdana, arial;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<pre class="mermaid">
|
|
info
|
|
</pre>
|
|
<pre class="mermaid">
|
|
graph TD
|
|
subgraph one
|
|
1
|
|
end
|
|
</pre>
|
|
<pre class="mermaid">
|
|
graph TD
|
|
A --> B --> C
|
|
</pre>
|
|
|
|
<script src="./mermaid.js"></script>
|
|
<script>
|
|
function showFullFirstSquad(elemName) {
|
|
console.log('show ' + elemName);
|
|
}
|
|
mermaid.initialize({ startOnLoad: true, securityLevel: 'loose', logLevel: 1 });
|
|
</script>
|
|
</body>
|
|
</html>
|