Merge branch 'knsv/new-shapes' of github.com:mermaid-js/mermaid into neo-new-shapes

This commit is contained in:
Ashish Jain
2024-09-24 11:12:00 +02:00
7 changed files with 21 additions and 14 deletions

View File

@@ -2,7 +2,7 @@
>
> ## THIS IS AN AUTOGENERATED FILE. DO NOT EDIT.
>
> ## Please edit the corresponding file in [/packages/mermaid/src/docs/adding-new-shape/Readme.md](../../packages/mermaid/src/docs/adding-new-shape/Readme.md).
> ## Please edit the corresponding file in [/packages/mermaid/src/docs/adding-new-shape.md](../packages/mermaid/src/docs/adding-new-shape.md).
# Custom SVG Shapes Library
@@ -126,7 +126,9 @@ To add a new shape:
const shapes = {
...,
myNewShape,
'my-new-shape': myNewShape,
// Shortened alias (if any).
'm-nsh': myNewShape
};
```