import { f as o, p as a } from "./flowDb-c6c81e3f-DnVrIVtg.mjs";
import { f as t, g as e } from "./styles-d45a18b0-Cx7oeddZ.mjs";
import { u as s } from "./index-B4uS92Er.mjs";
import "./graph-B9GBc3rj.mjs";
import "./layout-BUJf-1Jb.mjs";
const p = {
  parser: a,
  db: o,
  renderer: e,
  styles: t,
  init: (r) => {
    r.flowchart || (r.flowchart = {}), r.flowchart.arrowMarkerAbsolute = r.arrowMarkerAbsolute, s({ flowchart: { arrowMarkerAbsolute: r.arrowMarkerAbsolute } }), e.setConf(r.flowchart), o.clear(), o.setGen("gen-2");
  }
};
export {
  p as diagram
};
