Skip to content
On this page

Interface: NodeProps<Data, CustomEvents>

Type parameters

NameType
DataElementData
CustomEvents{}

Table of contents

Properties

Properties

connectable

• connectable: HandleConnectable


data

• data: Data


dimensions

• dimensions: Dimensions


dragHandle

• Optional dragHandle: string


dragging

• dragging: boolean


events

• events: NodeEventsOn<CustomEvents>


id

• id: string


isValidSourcePos

• Optional isValidSourcePos: ValidConnectionFunc


isValidTargetPos

• Optional isValidTargetPos: ValidConnectionFunc


label

• Optional label: string | Object | Component<any, any, any, ComputedOptions, MethodOptions> | VNode<RendererNode, RendererElement, { [key: string]: any; }>


parentNode

• Optional parentNode: string


position

• position: XYPosition


selected

• selected: boolean


sourcePosition

• Optional sourcePosition: Position


targetPosition

• Optional targetPosition: Position


type

• type: string


zIndex

• zIndex: number

Released under the MIT License.