import { styles_default, classRenderer_v3_unified_default, classDiagram_default, ClassDB } from './chunk-B4BG7PRW.mjs';
import { __name } from './chunk-AGHRB4JF.mjs';
import '../../../../../../d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/index.mjs';
import '../../../../../../d3-zoom@3.0.0/node_modules/d3-zoom/src/transform.mjs';
import './chunk-ABZYJK2D.mjs';
import './chunk-N4CR4FBY.mjs';
import './chunk-QXUST7PY.mjs';
import './chunk-HN2XXSSU.mjs';
import './chunk-JZLCHNYA.mjs';
import './chunk-JA3XYJ7Z.mjs';
import './chunk-S3R3BYOJ.mjs';

// src/diagrams/class/classDiagram-v2.ts
var diagram = {
  parser: classDiagram_default,
  get db() {
    return new ClassDB();
  },
  renderer: classRenderer_v3_unified_default,
  styles: styles_default,
  init: /* @__PURE__ */ __name((cnf) => {
    if (!cnf.class) {
      cnf.class = {};
    }
    cnf.class.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;
  }, "init")
};

export { diagram };
