refactor(node-wrapper): add separate folder

This commit is contained in:
moklick
2023-12-16 09:55:30 +01:00
parent b861b47783
commit 20c779f57d
4 changed files with 12 additions and 11 deletions
@@ -0,0 +1,8 @@
import { XYPosition } from '@xyflow/system';
export const arrowKeyDiffs: Record<string, XYPosition> = {
ArrowUp: { x: 0, y: -1 },
ArrowDown: { x: 0, y: 1 },
ArrowLeft: { x: -1, y: 0 },
ArrowRight: { x: 1, y: 0 },
};