update the theme
This commit is contained in:
parent
b1a7697b03
commit
58e2c9ae87
166 changed files with 326580 additions and 582 deletions
|
@ -0,0 +1,40 @@
|
|||
import { p as parser, f as flowDb } from "./flowDb-c1833063.js";
|
||||
import { f as flowRendererV2, a as flowStyles } from "./styles-483fbfea.js";
|
||||
import { p as setConfig } from "./mermaid-6dc72991.js";
|
||||
import "d3";
|
||||
import "dagre-d3-es/src/graphlib/index.js";
|
||||
import "./index-01f381cb.js";
|
||||
import "dagre-d3-es/src/dagre/index.js";
|
||||
import "dagre-d3-es/src/graphlib/json.js";
|
||||
import "./edges-066a5561.js";
|
||||
import "./createText-ca0c5216.js";
|
||||
import "mdast-util-from-markdown";
|
||||
import "ts-dedent";
|
||||
import "dagre-d3-es/src/dagre-js/label/add-html-label.js";
|
||||
import "khroma";
|
||||
import "dayjs";
|
||||
import "@braintree/sanitize-url";
|
||||
import "dompurify";
|
||||
import "lodash-es/memoize.js";
|
||||
import "lodash-es/merge.js";
|
||||
import "stylis";
|
||||
import "lodash-es/isEmpty.js";
|
||||
const diagram = {
|
||||
parser,
|
||||
db: flowDb,
|
||||
renderer: flowRendererV2,
|
||||
styles: flowStyles,
|
||||
init: (cnf) => {
|
||||
if (!cnf.flowchart) {
|
||||
cnf.flowchart = {};
|
||||
}
|
||||
cnf.flowchart.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;
|
||||
setConfig({ flowchart: { arrowMarkerAbsolute: cnf.arrowMarkerAbsolute } });
|
||||
flowRendererV2.setConf(cnf.flowchart);
|
||||
flowDb.clear();
|
||||
flowDb.setGen("gen-2");
|
||||
}
|
||||
};
|
||||
export {
|
||||
diagram
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue