Skip to content
On this page

Interface: Edge<Data, CustomEvents>

Type parameters

NameType
DataElementData
CustomEventsextends Record<string, CustomEvent> = any

Table of contents

Properties

Properties

animated

• Optional animated: boolean


class

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


data

• Optional data: Data


events

• Optional events: Partial<EdgeEventsHandler<CustomEvents>>


hidden

• Optional hidden: boolean


id

• id: string


label

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


labelBgBorderRadius

• Optional labelBgBorderRadius: number


labelBgPadding

• Optional labelBgPadding: [number, number]


labelBgStyle

• Optional labelBgStyle: CSSProperties


labelShowBg

• Optional labelShowBg: boolean


labelStyle

• Optional labelStyle: CSSProperties


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

Released under the MIT License.