import { f as o, p as a } from "./flowDb-c6c81e3f-c_6UJx7v.mjs";
import { f as t, g as e } from "./styles-d45a18b0-B4X5Sz25.mjs";
import { u as s } from "./index-BWWcIXkw.mjs";
import "./graph-DFj44duU.mjs";
import "./layout-DlMS5zQk.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
};
