the ELK imports break the dev playground, drop them

This commit is contained in:
agokhale 2024-11-13 05:16:01 -05:00
parent c8ce416aba
commit 193fdb225e

View File

@ -39,8 +39,6 @@ graph TB
<script type="module">
import mermaid from '/mermaid.esm.mjs';
import flowchartELK from '/mermaid-flowchart-elk.esm.mjs';
await mermaid.registerExternalDiagrams([flowchartELK]);
async function render(str) {
const { svg } = await mermaid.render('dynamic', str);
document.getElementById('dynamicDiagram').innerHTML = svg;