Test/node_modules/@excalidraw/mermaid-to-excalidraw/dist/converter/GraphConverter.js
2026-04-09 22:54:00 +07:00

12 lines
366 B
JavaScript

import { DEFAULT_FONT_SIZE } from "../constants.js";
export class GraphConverter {
constructor({ converter, }) {
this.convert = (graph, config) => {
return this.converter(graph, {
...config,
fontSize: config.fontSize || DEFAULT_FONT_SIZE,
});
};
this.converter = converter;
}
}