@@ -49,6 +49,7 @@ export interface Node<T = any> {
|
||||
draggable?: boolean;
|
||||
selectable?: boolean;
|
||||
connectable?: boolean;
|
||||
dragHandle?: string;
|
||||
}
|
||||
|
||||
export enum ArrowHeadType {
|
||||
@@ -186,6 +187,7 @@ export interface NodeProps<T = any> {
|
||||
targetPosition?: Position;
|
||||
sourcePosition?: Position;
|
||||
isDragging?: boolean;
|
||||
dragHandle?: string;
|
||||
}
|
||||
|
||||
export interface NodeComponentProps<T = any> {
|
||||
@@ -210,6 +212,7 @@ export interface NodeComponentProps<T = any> {
|
||||
onNodeDragStop?: (node: Node) => void;
|
||||
style?: CSSProperties;
|
||||
isDragging?: boolean;
|
||||
dragHandle?: string;
|
||||
}
|
||||
|
||||
export interface WrapNodeProps<T = any> {
|
||||
@@ -243,6 +246,7 @@ export interface WrapNodeProps<T = any> {
|
||||
snapGrid?: SnapGrid;
|
||||
isDragging?: boolean;
|
||||
resizeObserver: ResizeObserver | null;
|
||||
dragHandle?: string;
|
||||
}
|
||||
|
||||
export type FitViewParams = {
|
||||
|
||||
Reference in New Issue
Block a user