mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-17 19:24:10 +01:00
12 lines
304 B
TypeScript
12 lines
304 B
TypeScript
import type { Node, RectOptions } from '../../types.js';
|
|
import { drawRect } from './drawRect.js';
|
|
|
|
export const state = async (parent: SVGAElement, node: Node) => {
|
|
const options = {
|
|
rx: 5,
|
|
ry: 5,
|
|
classes: 'flowchart-node',
|
|
} as RectOptions;
|
|
return drawRect(parent, node, options);
|
|
};
|