Interface: NodeProps<Data, CustomEvents>
Type parameters
Name | Type |
---|---|
Data | ElementData |
CustomEvents | {} |
Table of contents
Properties
- connectable
- data
- dimensions
- dragHandle
- dragging
- events
- id
- isValidSourcePos
- isValidTargetPos
- label
- parentNode
- position
- selected
- sourcePosition
- targetPosition
- type
- zIndex
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