From 0c92078b0a3d493cd66575c2fefb3b87ed8e84e4 Mon Sep 17 00:00:00 2001 From: Rob Gordon Date: Sun, 24 Nov 2024 10:40:25 -0500 Subject: [PATCH] Add Isosceles Trapezoid Shape (#761) --- app/src/components/GraphTip.tsx | 1 - app/src/lib/graphUtilityClasses.ts | 8 ++++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/app/src/components/GraphTip.tsx b/app/src/components/GraphTip.tsx index d3b4979d..1672b5fc 100644 --- a/app/src/components/GraphTip.tsx +++ b/app/src/components/GraphTip.tsx @@ -20,7 +20,6 @@ export function GraphTip() {
({ }, })); +childlessShapeClasses.push({ + selector: ":childless.shape_iso-trapezoid", + css: { + shape: "polygon", + "shape-polygon-points": "-1 1 1 1 0.5 -1 -0.5 -1", + }, +}); + const arrowSuffixes = [ "triangle", "triangle-tee",