mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-02 07:06:43 +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',
|
shortName: 'rect',
|
||||||
description: 'Standard process shape',
|
description: 'Standard process shape',
|
||||||
aliases: ['proc', 'process', 'rectangle'],
|
aliases: ['proc', 'process', 'rectangle'],
|
||||||
|
internalAliases: ['squareRect'],
|
||||||
handler: squareRect,
|
handler: squareRect,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -90,6 +91,7 @@ export const shapesDefs: ShapeDefinition[] = [
|
|||||||
shortName: 'rounded',
|
shortName: 'rounded',
|
||||||
description: 'Represents an event',
|
description: 'Represents an event',
|
||||||
aliases: ['event'],
|
aliases: ['event'],
|
||||||
|
internalAliases: ['roundedRect'],
|
||||||
handler: roundedRect,
|
handler: roundedRect,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -213,6 +215,7 @@ export const shapesDefs: ShapeDefinition[] = [
|
|||||||
shortName: 'sm-circ',
|
shortName: 'sm-circ',
|
||||||
description: 'Small starting point',
|
description: 'Small starting point',
|
||||||
aliases: ['start', 'small-circle'],
|
aliases: ['start', 'small-circle'],
|
||||||
|
internalAliases: ['stateStart'],
|
||||||
handler: stateStart,
|
handler: stateStart,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -221,6 +224,7 @@ export const shapesDefs: ShapeDefinition[] = [
|
|||||||
shortName: 'fr-circ',
|
shortName: 'fr-circ',
|
||||||
description: 'Stop point',
|
description: 'Stop point',
|
||||||
aliases: ['stop', 'framed-circle'],
|
aliases: ['stop', 'framed-circle'],
|
||||||
|
internalAliases: ['stateEnd'],
|
||||||
handler: stateEnd,
|
handler: stateEnd,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -229,6 +233,7 @@ export const shapesDefs: ShapeDefinition[] = [
|
|||||||
shortName: 'fork',
|
shortName: 'fork',
|
||||||
description: 'Fork or join in process flow',
|
description: 'Fork or join in process flow',
|
||||||
aliases: ['join'],
|
aliases: ['join'],
|
||||||
|
internalAliases: ['forkJoin'],
|
||||||
handler: forkJoin,
|
handler: forkJoin,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user