import { __name } from "./dist-chunks-mermaid.core-chunk-AGHRB4JF.js";
function populateCommonDb(ast, db) {
  if (ast.accDescr) {
    db.setAccDescription?.(ast.accDescr);
  }
  if (ast.accTitle) {
    db.setAccTitle?.(ast.accTitle);
  }
  if (ast.title) {
    db.setDiagramTitle?.(ast.title);
  }
}
__name(populateCommonDb, "populateCommonDb");
export {
  populateCommonDb
};
//# sourceMappingURL=dist-chunks-mermaid.core-chunk-4BX2VUAB.js.map
