Revert "Update packages. Add quadtree (still need update for ID handling instead of index)."

This reverts commit 685bd47fc4.
This commit is contained in:
2025-01-28 10:27:34 +01:00
parent 685bd47fc4
commit 3f04bb3d0c
9 changed files with 22 additions and 3132 deletions

6
types/canvas.d.ts vendored
View File

@@ -1,5 +1,3 @@
import type { Direction } from "~/shared/canvas.util";
export interface CanvasContent {
nodes?: CanvasNode[];
edges?: CanvasEdge[];
@@ -24,9 +22,9 @@ export interface CanvasNode {
export interface CanvasEdge {
id: string;
fromNode: string;
fromSide: Direction;
fromSide: 'bottom' | 'top' | 'left' | 'right';
toNode: string;
toSide: Direction;
toSide: 'bottom' | 'top' | 'left' | 'right';
color?: CanvasColor;
label?: string;
};