1 line
1.4 KiB
Plaintext
1 line
1.4 KiB
Plaintext
|
{"version":3,"file":"flowDiagram-v2-f8463bb5.js","sources":["../src/diagrams/flowchart/flowDiagram-v2.ts"],"sourcesContent":["// @ts-ignore: TODO Fix ts errors\nimport flowParser from './parser/flow';\nimport flowDb from './flowDb';\nimport flowRendererV2 from './flowRenderer-v2';\nimport flowStyles from './styles';\nimport { MermaidConfig } from '../../config.type';\nimport { setConfig } from '../../config';\n\nexport const diagram = {\n parser: flowParser,\n db: flowDb,\n renderer: flowRendererV2,\n styles: flowStyles,\n init: (cnf: MermaidConfig) => {\n if (!cnf.flowchart) {\n cnf.flowchart = {};\n }\n cnf.flowchart.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;\n // flowchart-v2 uses dagre-wrapper, which doesn't have access to flowchart cnf\n setConfig({ flowchart: { arrowMarkerAbsolute: cnf.arrowMarkerAbsolute } });\n flowRendererV2.setConf(cnf.flowchart);\n flowDb.clear();\n flowDb.setGen('gen-2');\n },\n};\n"],"names":["diagram","flowParser","flowDb","flowRendererV2","flowStyles","cnf","setConfig"],"mappings":";;;;;;;;;;;;;;;;AAQO,MAAMA,IAAU;AAAA,EACrB,QAAQC;AAAAA,EACR,IAAIC;AAAA,EACJ,UAAUC;AAAA,EACV,QAAQC;AAAA,EACR,MAAM,CAACC,MAAuB;AACxB,IAACA,EAAI,cACPA,EAAI,YAAY,KAEdA,EAAA,UAAU,sBAAsBA,EAAI,qBAExCC,EAAU,EAAE,WAAW,EAAE,qBAAqBD,EAAI,uBAAuB,GAC1DF,EAAA,QAAQE,EAAI,SAAS,GACpCH,EAAO,MAAM,GACbA,EAAO,OAAO,OAAO;AAAA,EACvB;AACF;"}
|