From 5724cbfccec046707d1571f723ac00553fec8ea6 Mon Sep 17 00:00:00 2001 From: peterkogo Date: Wed, 14 May 2025 11:10:34 +0200 Subject: [PATCH] clean up system --- packages/system/src/constants.ts | 8 +------- packages/system/src/styles/init.css | 9 --------- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/packages/system/src/constants.ts b/packages/system/src/constants.ts index e9fc0b18..9bb65656 100644 --- a/packages/system/src/constants.ts +++ b/packages/system/src/constants.ts @@ -1,4 +1,4 @@ -import { CoordinateExtent, HandleType, XYPosition } from './types'; +import { CoordinateExtent, HandleType } from './types'; export const errorMessages = { error001: () => @@ -36,9 +36,3 @@ export const infiniteExtent: CoordinateExtent = [ ]; export const elementSelectionKeys = ['Enter', ' ', 'Escape']; -export const arrowKeyDiffs: Record = { - ArrowUp: { x: 0, y: -1 }, - ArrowDown: { x: 0, y: 1 }, - ArrowLeft: { x: -1, y: 0 }, - ArrowRight: { x: 1, y: 0 }, -}; diff --git a/packages/system/src/styles/init.css b/packages/system/src/styles/init.css index c6e9caeb..ca4d6de7 100644 --- a/packages/system/src/styles/init.css +++ b/packages/system/src/styles/init.css @@ -123,11 +123,6 @@ } } -.xy-flow__edge-wrapper { - position: absolute; - overflow: visible; -} - .xy-flow__edge { pointer-events: visibleStroke; @@ -438,7 +433,3 @@ svg.xy-flow__connectionline { } } } - -.xy-flow__marker { - position: absolute; -}