{
  "version": 3,
  "sources": ["../../mermaid/src/rendering-util/layout-algorithms/elk/algorithms.ts", "../../mermaid/src/rendering-util/layout-algorithms/elk/plugin.ts"],
  "sourcesContent": ["/**\n * ELK algorithms selectable as `layout: <name>`, in addition to the plain `elk`\n * name which maps to `elk.layered`.\n *\n * Shared by mermaid's own registration and by the standalone\n * `@mermaid-js/layout-elk` plugin entry, which each declare their own loader so\n * that neither drags the other's dynamic import into its bundle.\n */\nexport const ELK_ALGORITHMS = [\n  'elk.stress',\n  'elk.force',\n  'elk.mrtree',\n  'elk.sporeOverlap',\n  'elk.box',\n  'elk.rectpacking',\n] as const;\n", "import type { LayoutLoaderDefinition } from '../../render.js';\nimport { ELK_ALGORITHMS } from './algorithms.js';\n\n// Type-only import above, so nothing from core's render module is pulled into\n// the plugin bundle.\nconst loader = async () => await import('./index.js');\n\n/**\n * Entry point for the standalone `@mermaid-js/layout-elk` package, which is\n * built from this file so there is exactly one ELK implementation.\n *\n * mermaid registers these layouts itself, so the package is only needed for\n * builds that ship without ELK \u2014 notably `mermaid.tiny.js`.\n */\nconst layouts: LayoutLoaderDefinition[] = [\n  { name: 'elk', loader, algorithm: 'elk.layered' },\n  ...ELK_ALGORITHMS.map((algorithm) => ({ name: algorithm, loader, algorithm })),\n];\n\nexport default layouts;\n"],
  "mappings": ";;;;;AAQO,IAAM,iBAAiB;AAAA,EAC5B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;;;ACVA,IAAM,SAAS,mCAAY,MAAM,OAAO,kDAAY,GAArC;AASf,IAAM,UAAoC;AAAA,EACxC,EAAE,MAAM,OAAO,QAAQ,WAAW,cAAc;AAAA,EAChD,GAAG,eAAe,IAAI,CAAC,eAAe,EAAE,MAAM,WAAW,QAAQ,UAAU,EAAE;AAC/E;AAEA,IAAO,iBAAQ;",
  "names": []
}
