1 | import { p as parser, f as flowDb } from "./flowDb-ba9bd7fa.js";
|
2 | import { f as flowRendererV2, g as flowStyles } from "./styles-727cdd61.js";
|
3 | import { u as setConfig } from "./mermaid-dcacb631.js";
|
4 | import "./graph-fe24fab6.js";
|
5 | import "./index-fc479858.js";
|
6 | import "./layout-163b9689.js";
|
7 | import "./clone-9ea6bfeb.js";
|
8 | import "./edges-ce5cfb7c.js";
|
9 | import "./createText-b70fe78a.js";
|
10 | import "./line-87f517ef.js";
|
11 | import "./array-b7dcf730.js";
|
12 | import "./path-39bad7e2.js";
|
13 | import "./channel-f9001828.js";
|
14 | const diagram = {
|
15 | parser,
|
16 | db: flowDb,
|
17 | renderer: flowRendererV2,
|
18 | styles: flowStyles,
|
19 | init: (cnf) => {
|
20 | if (!cnf.flowchart) {
|
21 | cnf.flowchart = {};
|
22 | }
|
23 | cnf.flowchart.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;
|
24 | setConfig({ flowchart: { arrowMarkerAbsolute: cnf.arrowMarkerAbsolute } });
|
25 | flowRendererV2.setConf(cnf.flowchart);
|
26 | flowDb.clear();
|
27 | flowDb.setGen("gen-2");
|
28 | }
|
29 | };
|
30 | export {
|
31 | diagram
|
32 | };
|