Add node resizing

This commit is contained in:
2025-01-13 00:00:17 +01:00
parent 823f3d7730
commit 9439dd2d95
4 changed files with 70 additions and 19 deletions

View File

@@ -3,6 +3,7 @@ import { clamp } from "#shared/general.utils";
export type Direction = 'bottom' | 'top' | 'left' | 'right';
export type Position = { x: number, y: number };
export type Box = Position & { w: number, h: number };
export type Path = {
path: string;
from: Position;