import { styles_default, stateRenderer_v3_unified_default, stateDiagram_default, StateDB } from './chunk-DI55MBZ5.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/state/stateDiagram-v2.ts
var diagram = {
  parser: stateDiagram_default,
  get db() {
    return new StateDB(2);
  },
  renderer: stateRenderer_v3_unified_default,
  styles: styles_default,
  init: /* @__PURE__ */ __name((cnf) => {
    if (!cnf.state) {
      cnf.state = {};
    }
    cnf.state.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;
  }, "init")
};

export { diagram };
