635 B29 lines
Blame
1<html>
2 <body>
3 <pre class="mermaid">
4 flowchart-elk
5 a[hello] --> b[world]
6 b --> c{test}
7 c --> one
8 c --> two
9 c --> three
10 </pre>
11
12 <script type="module">
13 import mermaid from './mermaid.esm.mjs';
14 import elk from './mermaid-flowchart-elk.esm.min.mjs';
15 if (window.location.search.includes('elk')) {
16 await mermaid.registerExternalDiagrams([elk]);
17 }
18 mermaid.initialize({
19 logLevel: 3,
20 startOnLoad: false,
21 });
22 await mermaid.run();
23 if (window.Cypress) {
24 window.rendered = true;
25 }
26 </script>
27 </body>
28</html>
29