Interface: GraphNode<Data, CustomEvents>
Type parameters
Name | Type |
---|---|
Data | ElementData |
CustomEvents | extends Record <string , CustomEvent > = any |
Hierarchy
Node
<Data
,CustomEvents
>↳
GraphNode
Table of contents
Properties
- class
- computedPosition
- connectable
- data
- dimensions
- dragHandle
- draggable
- events
- expandParent
- extent
- handleBounds
- height
- hidden
- id
- isParent
- isValidSourcePos
- isValidTargetPos
- label
- parentNode
- position
- selectable
- selected
- snapGrid
- sourcePosition
- style
- targetPosition
- template
- type
- width
Properties
class
• Optional
class: string
| ClassFunc
<GraphNode
<Data
, CustomEvents
>>
Inherited from
computedPosition
• computedPosition: XYZPosition
connectable
• Optional
connectable: HandleConnectable
Inherited from
data
• Optional
data: Data
Inherited from
dimensions
• dimensions: Dimensions
dragHandle
• Optional
dragHandle: string
Inherited from
draggable
• Optional
draggable: boolean
Inherited from
events
• Optional
events: Partial
<NodeEventsHandler
<CustomEvents
>>
Inherited from
expandParent
• Optional
expandParent: boolean
Inherited from
extent
• Optional
extent: CoordinateExtent
| "parent"
Inherited from
handleBounds
• handleBounds: NodeHandleBounds
height
• Optional
height: string
| number
| HeightFunc
Inherited from
hidden
• Optional
hidden: boolean
Inherited from
id
• id: string
Inherited from
isParent
• isParent: boolean
isValidSourcePos
• Optional
isValidSourcePos: ValidConnectionFunc
Inherited from
isValidTargetPos
• Optional
isValidTargetPos: ValidConnectionFunc
Inherited from
label
• Optional
label: string
| VNode
<RendererNode
, RendererElement
, { [key: string]
: any
; }> | Component
<any
, any
, any
, ComputedOptions
, MethodOptions
>
Inherited from
parentNode
• Optional
parentNode: string
Inherited from
position
• position: XYPosition
Inherited from
selectable
• Optional
selectable: boolean
Inherited from
selected
• selected: boolean
snapGrid
• Optional
snapGrid: SnapGrid
Inherited from
sourcePosition
• Optional
sourcePosition: Position
Inherited from
style
• Optional
style: Styles
| StyleFunc
<GraphNode
<Data
, CustomEvents
>>
Inherited from
targetPosition
• Optional
targetPosition: Position
Inherited from
template
• Optional
template: NodeComponent
Inherited from
type
• Optional
type: string
Inherited from
width
• Optional
width: string
| number
| WidthFunc