Skip to content

Commit 5be5aa3

Browse files
committed
Register erBox shape
1 parent 69e12fd commit 5be5aa3

File tree

1 file changed

+9
-0
lines changed
  • packages/mermaid/src/rendering-util/rendering-elements

1 file changed

+9
-0
lines changed

packages/mermaid/src/rendering-util/rendering-elements/shapes.ts

+9
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ import { triangle } from './shapes/triangle.js';
5555
import { waveEdgedRectangle } from './shapes/waveEdgedRectangle.js';
5656
import { waveRectangle } from './shapes/waveRectangle.js';
5757
import { windowPane } from './shapes/windowPane.js';
58+
import { erBox } from './shapes/erBox.js';
5859

5960
// eslint-disable-next-line @typescript-eslint/no-explicit-any
6061
type ShapeHandler = (parent: any, node: Node, options: ShapeRenderOptions) => unknown;
@@ -442,6 +443,14 @@ export const shapesDefs: ShapeDefinition[] = [
442443
aliases: ['lined-document'],
443444
handler: linedWaveEdgedRect,
444445
},
446+
{
447+
semanticName: 'Entity Relationship Box',
448+
name: 'Entity Relationship Box',
449+
shortName: 'erBox',
450+
description: 'Entity Relationship Box',
451+
aliases: ['er-box'],
452+
handler: erBox,
453+
},
445454
];
446455

447456
const generateShapeMap = () => {

0 commit comments

Comments
 (0)