mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-15 06:19:24 +02:00
fix: Add internalAliases
Co-authored-by: Alois Klink <alois@aloisklink.com>
This commit is contained in:
@@ -82,6 +82,7 @@ export const shapesDefs: ShapeDefinition[] = [
|
||||
shortName: 'rect',
|
||||
description: 'Standard process shape',
|
||||
aliases: ['proc', 'process', 'rectangle'],
|
||||
internalAliases: ['squareRect'],
|
||||
handler: squareRect,
|
||||
},
|
||||
{
|
||||
@@ -90,6 +91,7 @@ export const shapesDefs: ShapeDefinition[] = [
|
||||
shortName: 'rounded',
|
||||
description: 'Represents an event',
|
||||
aliases: ['event'],
|
||||
internalAliases: ['roundedRect'],
|
||||
handler: roundedRect,
|
||||
},
|
||||
{
|
||||
@@ -213,6 +215,7 @@ export const shapesDefs: ShapeDefinition[] = [
|
||||
shortName: 'sm-circ',
|
||||
description: 'Small starting point',
|
||||
aliases: ['start', 'small-circle'],
|
||||
internalAliases: ['stateStart'],
|
||||
handler: stateStart,
|
||||
},
|
||||
{
|
||||
@@ -221,6 +224,7 @@ export const shapesDefs: ShapeDefinition[] = [
|
||||
shortName: 'fr-circ',
|
||||
description: 'Stop point',
|
||||
aliases: ['stop', 'framed-circle'],
|
||||
internalAliases: ['stateEnd'],
|
||||
handler: stateEnd,
|
||||
},
|
||||
{
|
||||
@@ -229,6 +233,7 @@ export const shapesDefs: ShapeDefinition[] = [
|
||||
shortName: 'fork',
|
||||
description: 'Fork or join in process flow',
|
||||
aliases: ['join'],
|
||||
internalAliases: ['forkJoin'],
|
||||
handler: forkJoin,
|
||||
},
|
||||
{
|
||||
|
Reference in New Issue
Block a user