Skip to main content
Version: 4.3

CellDragState

type CellDragState = CellDragStateDragging | CellDragStateIdle;

Drag state for the current cell, returned by useCellDrag. While a drag is in progress (isDragging is true), the active fields (event, dropArea, paper, graph, cellId) carry the live drag; when false they are undefined. isPreview and canDrop are always present.