mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-13 12:29:42 +02:00
moved old shapes from newShapes.spec.ts file to separate file
This commit is contained in:
@@ -18,9 +18,9 @@ const newShapesSet2 = [
|
|||||||
] as const;
|
] as const;
|
||||||
|
|
||||||
const newShapesSet3 = [
|
const newShapesSet3 = [
|
||||||
'halfRoundedRectangle',
|
|
||||||
'curvedTrapezoid',
|
'curvedTrapezoid',
|
||||||
'bowTieRect',
|
'bowTieRect',
|
||||||
|
'waveEdgedRectangle',
|
||||||
'dividedRectangle',
|
'dividedRectangle',
|
||||||
'crossedCircle',
|
'crossedCircle',
|
||||||
] as const;
|
] as const;
|
||||||
@@ -29,38 +29,16 @@ const newShapesSet4 = [
|
|||||||
'waveRectangle',
|
'waveRectangle',
|
||||||
'trapezoidalPentagon',
|
'trapezoidalPentagon',
|
||||||
'linedCylinder',
|
'linedCylinder',
|
||||||
'waveEdgedRectangle',
|
|
||||||
'multiWaveEdgedRectangle',
|
'multiWaveEdgedRectangle',
|
||||||
|
'halfRoundedRectangle',
|
||||||
] as const;
|
] as const;
|
||||||
|
|
||||||
const newShapesSet5 = [
|
const newShapesSet5 = [
|
||||||
'linedWaveEdgedRect',
|
'linedWaveEdgedRect',
|
||||||
'taggedWaveEdgedRectangle',
|
'taggedWaveEdgedRectangle',
|
||||||
'text',
|
|
||||||
'card',
|
|
||||||
'shadedProcess',
|
|
||||||
] as const;
|
|
||||||
|
|
||||||
const newShapesSet6 = ['roundedRect', 'squareRect', 'stateStart', 'stateEnd', 'labelRect'] as const;
|
|
||||||
|
|
||||||
const newShapesSet7 = ['forkJoin', 'choice', 'note', 'stadium'] as const;
|
|
||||||
|
|
||||||
const newShapesSet8 = [
|
|
||||||
'question',
|
|
||||||
'hexagon',
|
|
||||||
'curlyBraces',
|
'curlyBraces',
|
||||||
'multiRect',
|
'curvedTrapezoid',
|
||||||
'waveEdgedRectangle',
|
'waveRectangle',
|
||||||
] as const;
|
|
||||||
|
|
||||||
const newShapesSet9 = ['anchor', 'lean_right', 'lean_left', 'trapezoid', 'inv_trapezoid'] as const;
|
|
||||||
|
|
||||||
const newShapesSet10 = [
|
|
||||||
'subroutine',
|
|
||||||
'cylinder',
|
|
||||||
'circle',
|
|
||||||
'doublecircle',
|
|
||||||
'rect_left_inv_arrow',
|
|
||||||
] as const;
|
] as const;
|
||||||
|
|
||||||
// Aggregate all shape sets into a single array
|
// Aggregate all shape sets into a single array
|
||||||
@@ -70,11 +48,6 @@ const newShapesSets = [
|
|||||||
newShapesSet3,
|
newShapesSet3,
|
||||||
newShapesSet4,
|
newShapesSet4,
|
||||||
newShapesSet5,
|
newShapesSet5,
|
||||||
newShapesSet6,
|
|
||||||
newShapesSet7,
|
|
||||||
newShapesSet8,
|
|
||||||
newShapesSet9,
|
|
||||||
newShapesSet10,
|
|
||||||
] as const;
|
] as const;
|
||||||
|
|
||||||
looks.forEach((look) => {
|
looks.forEach((look) => {
|
||||||
|
Reference in New Issue
Block a user