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 | VNode<RendererNode, RendererElement, { [key: string]: any; }> | Component<any, any, any, ComputedOptions, MethodOptions>


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.