@braks/vue-flow / useHandle

Function: useHandle

useHandle(): Object

Returns

Object

NameType
onClick(event: MouseEvent, handleId: null | string, nodeId: string, handleType: HandleType, isValidConnection?: ValidConnectionFunc) => void
onMouseDown(event: MouseEvent, handleId: null | string, nodeId: string, isTarget: boolean, isValidConnection?: ValidConnectionFunc, elementEdgeUpdaterType?: HandleType, onEdgeUpdate?: (connection: Connection) => void, onEdgeUpdateEnd?: () => void) => void