Skip to content
On this page

Interface: GraphNode<Data, CustomEvents>

Type parameters

NameType
DataElementData
CustomEventsextends Record<string, CustomEvent> = any

Hierarchy

  • Node<Data, CustomEvents>

    ↳ GraphNode

Table of contents

Properties

Properties

class

• Optional class: string | ClassFunc<GraphNode<Data, CustomEvents>>

Inherited from

Node.class


computedPosition

• computedPosition: XYZPosition


connectable

• Optional connectable: HandleConnectable

Inherited from

Node.connectable


data

• data: Data

Overrides

Node.data


dimensions

• dimensions: Dimensions


dragHandle

• Optional dragHandle: string

Inherited from

Node.dragHandle


draggable

• Optional draggable: boolean

Inherited from

Node.draggable


events

• events: Partial<NodeEventsHandler<CustomEvents>>

Overrides

Node.events


expandParent

• Optional expandParent: boolean

Inherited from

Node.expandParent


extent

• Optional extent: "parent" | CoordinateExtent

Inherited from

Node.extent


handleBounds

• handleBounds: NodeHandleBounds


height

• Optional height: string | number | HeightFunc

Inherited from

Node.height


hidden

• Optional hidden: boolean

Inherited from

Node.hidden


id

• id: string

Inherited from

Node.id


isParent

• isParent: boolean


isValidSourcePos

• Optional isValidSourcePos: ValidConnectionFunc

Inherited from

Node.isValidSourcePos


isValidTargetPos

• Optional isValidTargetPos: ValidConnectionFunc

Inherited from

Node.isValidTargetPos


label

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

Inherited from

Node.label


parentNode

• Optional parentNode: string

Inherited from

Node.parentNode


position

• position: XYPosition

Inherited from

Node.position


selectable

• Optional selectable: boolean

Inherited from

Node.selectable


selected

• selected: boolean


snapGrid

• Optional snapGrid: SnapGrid

Inherited from

Node.snapGrid


sourcePosition

• Optional sourcePosition: Position

Inherited from

Node.sourcePosition


style

• Optional style: Styles | StyleFunc<GraphNode<Data, CustomEvents>>

Inherited from

Node.style


targetPosition

• Optional targetPosition: Position

Inherited from

Node.targetPosition


template

• Optional template: NodeComponent

Inherited from

Node.template


type

• Optional type: string

Inherited from

Node.type


width

• Optional width: string | number | WidthFunc

Inherited from

Node.width

Released under the MIT License.