Expose portable scene bindings and an explicit React Flow peer adapter
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import type { XYPosition } from "@xyflow/react";
|
||||
import type { CanvasNode } from "./canvas-elements";
|
||||
import type {CanvasGeometryNode as CanvasNode} from "./canvas-bindings/compat-types.ts";
|
||||
type XYPosition={x:number;y:number};
|
||||
|
||||
export type ResizeDirection = "top" | "right" | "bottom" | "left" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
||||
export type NodeTransform = { position?: XYPosition; width?: number; height?: number; rotation?: number; fontSize?: number };
|
||||
|
||||
Reference in New Issue
Block a user