chore: Fix shape names

This commit is contained in:
Sidharth Vinod
2024-06-21 16:00:06 +05:30
parent 55a8e4cf7e
commit a1badd5167
2 changed files with 12 additions and 12 deletions

View File

@@ -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 = {};

View File

@@ -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 });
} }
/** /**