Skip to content
On this page

Interface: DefaultEdge<Data, CustomEvents>

Type parameters

NameType
DataElementData
CustomEventsextends Record<string, CustomEvent> = any

Hierarchy

Table of contents

Properties

Properties

animated

• Optional animated: boolean


ariaLabel

• Optional ariaLabel: null | string


class

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


data

• Optional data: Data


deletable

• Optional deletable: boolean


events

• Optional events: Partial<EdgeEventsHandler<CustomEvents>>


focusable

• Optional focusable: boolean


hidden

• Optional hidden: boolean


id

• id: string


interactionWidth

• Optional interactionWidth: number


label

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


labelBgBorderRadius

• Optional labelBgBorderRadius: number

Inherited from

EdgeLabelOptions.labelBgBorderRadius


labelBgPadding

• Optional labelBgPadding: [number, number]

Inherited from

EdgeLabelOptions.labelBgPadding


labelBgStyle

• Optional labelBgStyle: CSSProperties

Inherited from

EdgeLabelOptions.labelBgStyle


labelShowBg

• Optional labelShowBg: boolean

Inherited from

EdgeLabelOptions.labelShowBg


labelStyle

• Optional labelStyle: CSSProperties

Inherited from

EdgeLabelOptions.labelStyle


markerEnd

• Optional markerEnd: EdgeMarkerType


markerStart

• Optional markerStart: EdgeMarkerType


selectable

• Optional selectable: boolean


source

• source: string


sourceHandle

• Optional sourceHandle: null | string


style

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


target

• target: string


targetHandle

• Optional targetHandle: null | string


template

• Optional template: EdgeComponent


type

• Optional type: string


updatable

• Optional updatable: EdgeUpdatable


zIndex

• Optional zIndex: number

Released under the MIT License.