import { r as __name } from "./src-Bf2iLOlr.js";
var getSubGraphTitleMargins = /* @__PURE__ */ __name(({ flowchart: e }) => {
  var _a, _b;
  let t = ((_a = e == null ? void 0 : e.subGraphTitleMargin) == null ? void 0 : _a.top) ?? 0, n = ((_b = e == null ? void 0 : e.subGraphTitleMargin) == null ? void 0 : _b.bottom) ?? 0;
  return {
    subGraphTitleTopMargin: t,
    subGraphTitleBottomMargin: n,
    subGraphTitleTotalMargin: t + n
  };
}, "getSubGraphTitleMargins");
export {
  getSubGraphTitleMargins as t
};
