Register erBox shape

This commit is contained in:
yari-dewalt
2024-10-16 08:14:13 -07:00
parent 69e12fd67d
commit 5be5aa3dfa

View File

@@ -55,6 +55,7 @@ import { triangle } from './shapes/triangle.js';
import { waveEdgedRectangle } from './shapes/waveEdgedRectangle.js';
import { waveRectangle } from './shapes/waveRectangle.js';
import { windowPane } from './shapes/windowPane.js';
import { erBox } from './shapes/erBox.js';
// eslint-disable-next-line @typescript-eslint/no-explicit-any
type ShapeHandler = (parent: any, node: Node, options: ShapeRenderOptions) => unknown;
@@ -442,6 +443,14 @@ export const shapesDefs: ShapeDefinition[] = [
aliases: ['lined-document'],
handler: linedWaveEdgedRect,
},
{
semanticName: 'Entity Relationship Box',
name: 'Entity Relationship Box',
shortName: 'erBox',
description: 'Entity Relationship Box',
aliases: ['er-box'],
handler: erBox,
},
];
const generateShapeMap = () => {