import { j as je, X as Xe } from './flowDb-9a89ea33.esm.js';
import { h as he, w as we } from './styles-e75131e4.esm.js';
import { v as v1 } from './index.esm2.js';
import './graph-0ee63739.esm.js';
import './index-bb6d8841.esm.js';
import './layout-fd473db2.esm.js';
import './clone-afc2f047.esm.js';
import './edges-16357fde.esm.js';
import './createText-03b82060.esm.js';
import './line-24d93f1b.esm.js';
import './array-2ff2c7a6.esm.js';
import './path-428ebac9.esm.js';
import './channel-ebbc4130.esm.js';

var M = {
    parser: Xe,
    db: je,
    renderer: we,
    styles: he,
    init: function(r) {
        r.flowchart || (r.flowchart = {}), r.flowchart.arrowMarkerAbsolute = r.arrowMarkerAbsolute, v1({
            flowchart: {
                arrowMarkerAbsolute: r.arrowMarkerAbsolute
            }
        }), we.setConf(r.flowchart), je.clear(), je.setGen("gen-2");
    }
};

export { M as diagram };
