2023-06-18 00:32:45 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en" xmlns="http://www.w3.org/1999/html">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8" />
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
|
|
<title>States Mermaid Quick Test Page</title>
|
|
|
|
<link rel="icon" type="image/png" href="data:image/png;base64,iVBORw0KGgo=" />
|
|
|
|
<style>
|
|
|
|
div.mermaid {
|
|
|
|
/* font-family: 'trebuchet ms', verdana, arial; */
|
|
|
|
font-family: 'Courier New', Courier, monospace !important;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1>Sankey diagram demos</h1>
|
|
|
|
<h2>Simple flow</h2>
|
|
|
|
<pre class="mermaid">
|
2023-06-18 00:32:45 +02:00
|
|
|
sankey
|
2023-06-18 22:53:57 +02:00
|
|
|
a->28->b->10->c
|
|
|
|
a->11->b
|
|
|
|
k->18->b->35->d->13->e->43->dd11
|
|
|
|
d->5->e
|
|
|
|
d->10->c
|
|
|
|
k->25->e
|
2023-06-18 00:32:45 +02:00
|
|
|
</pre>
|
|
|
|
<script type="module">
|
|
|
|
import mermaid from './mermaid.esm.mjs';
|
|
|
|
mermaid.initialize({
|
|
|
|
theme: 'default',
|
|
|
|
logLevel: 3,
|
|
|
|
securityLevel: 'loose',
|
|
|
|
flowchart: { curve: 'basis' },
|
|
|
|
gantt: { axisFormat: '%m/%d/%Y' },
|
|
|
|
sequence: { actorMargin: 50 },
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|