@difizen/ai-flow
Version:
Scalable, out-of-the-box, agent-oriented flow
13 lines (12 loc) • 478 B
TypeScript
import type { Node } from '@xyflow/react';
export interface NodeInteractionsStoreType {
dragNodeStartPosition: {
x: number;
y: number;
};
setNodeDragStartPosition: (x: number, y: number) => void;
onNodeDragStart: (node: Node) => void;
onNodeDrag: (node: Node) => void;
onNodeDragEnd: (node: Node) => void;
}
export declare const useNodeInteractions: import("zustand").UseBoundStore<import("zustand").StoreApi<NodeInteractionsStoreType>>;