mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-12-05 03:54:35 +01:00
chore: Fix shape names
This commit is contained in:
@@ -1111,13 +1111,13 @@ const shapes = {
|
|||||||
doublecircle,
|
doublecircle,
|
||||||
stadium,
|
stadium,
|
||||||
hexagon,
|
hexagon,
|
||||||
blockArrow,
|
block_arrow: blockArrow,
|
||||||
rectLeftInvArrow,
|
rect_left_inv_arrow: rectLeftInvArrow,
|
||||||
leanRight,
|
lean_right: leanRight,
|
||||||
leanLeft,
|
lean_left: leanLeft,
|
||||||
trapezoid,
|
trapezoid,
|
||||||
invTrapezoid,
|
inv_trapezoid: invTrapezoid,
|
||||||
rectRightInvArrow,
|
rect_right_inv_arrow: rectRightInvArrow,
|
||||||
cylinder,
|
cylinder,
|
||||||
start,
|
start,
|
||||||
end,
|
end,
|
||||||
@@ -1125,7 +1125,7 @@ const shapes = {
|
|||||||
subroutine,
|
subroutine,
|
||||||
fork: forkJoin,
|
fork: forkJoin,
|
||||||
join: forkJoin,
|
join: forkJoin,
|
||||||
classBox,
|
class_box: classBox,
|
||||||
};
|
};
|
||||||
|
|
||||||
let nodeElems = {};
|
let nodeElems = {};
|
||||||
|
|||||||
@@ -335,22 +335,22 @@ export function addToRenderV2(addShape) {
|
|||||||
addShape({ cylinder });
|
addShape({ cylinder });
|
||||||
|
|
||||||
// Add custom shape for box with inverted arrow on left side
|
// Add custom shape for box with inverted arrow on left side
|
||||||
addShape({ rectLeftInvArrow });
|
addShape({ rect_left_inv_arrow: rectLeftInvArrow });
|
||||||
|
|
||||||
// Add custom shape for box with inverted arrow on left side
|
// Add custom shape for box with inverted arrow on left side
|
||||||
addShape({ leanRight });
|
addShape({ lean_right: leanRight });
|
||||||
|
|
||||||
// Add custom shape for box with inverted arrow on left side
|
// Add custom shape for box with inverted arrow on left side
|
||||||
addShape({ leanLeft });
|
addShape({ lean_left: leanLeft });
|
||||||
|
|
||||||
// Add custom shape for box with inverted arrow on left side
|
// Add custom shape for box with inverted arrow on left side
|
||||||
addShape({ trapezoid });
|
addShape({ trapezoid });
|
||||||
|
|
||||||
// Add custom shape for box with inverted arrow on left side
|
// Add custom shape for box with inverted arrow on left side
|
||||||
addShape({ invTrapezoid });
|
addShape({ inv_trapezoid: invTrapezoid });
|
||||||
|
|
||||||
// Add custom shape for box with inverted arrow on right side
|
// Add custom shape for box with inverted arrow on right side
|
||||||
addShape({ rectRightInvArrow });
|
addShape({ rect_right_inv_arrow: rectRightInvArrow });
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user