mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-22 00:40:22 +02:00
Register erBox shape
This commit is contained in:
@@ -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 = () => {
|
||||
|
Reference in New Issue
Block a user