import { f as o, p as e } from "./layers.DaVbJ1LA.js";
import { f as a, a as t } from "./layers.Beu7hD93.js";
import { x as s } from "./layers.CpfZ5k-c.js";
import "lodash-es";
import "./layers.BJDrjORS.js";
import "./layers.D4T8fTcj.js";
import "./layers.D-vM7CY8.js";
import "lodash-es/memoize.js";
import "lodash-es/merge.js";
import "lodash-es/isEmpty.js";
const u = {
  parser: e,
  db: o,
  renderer: t,
  styles: a,
  init: (r) => {
    r.flowchart || (r.flowchart = {}), r.flowchart.arrowMarkerAbsolute = r.arrowMarkerAbsolute, s({ flowchart: { arrowMarkerAbsolute: r.arrowMarkerAbsolute } }), t.setConf(r.flowchart), o.clear(), o.setGen("gen-2");
  }
};
export {
  u as diagram
};
