import { f as o, p as a } from "./flowDb-c6c81e3f-BNhW84WX.mjs";
import { f as t, g as e } from "./styles-d45a18b0-BBmLi_Vq.mjs";
import { u as s } from "./index-U_6OVjVV.mjs";
import "./graph-DZVtOc18.mjs";
import "./layout-DqVuT8Ka.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
};
