Skip to content
On this page

Interface: EdgeProps<Data, CustomEvents>

Type parameters

NameType
DataElementData
CustomEvents{}

Hierarchy

Table of contents

Properties

Properties

animated

• Optional animated: boolean


curvature

• Optional curvature: number


data

• Optional data: Data


events

• Optional events: Partial<EdgeEventsOn<CustomEvents>>


id

• id: string


label

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


labelBgBorderRadius

• Optional labelBgBorderRadius: number


labelBgPadding

• Optional labelBgPadding: [number, number]


labelBgStyle

• Optional labelBgStyle: any


labelShowBg

• Optional labelShowBg: boolean


labelStyle

• Optional labelStyle: CSSProperties


markerEnd

• Optional markerEnd: string


markerStart

• Optional markerStart: string


selected

• Optional selected: boolean


source

• source: string


sourceHandleId

• Optional sourceHandleId: string


sourceNode

• sourceNode: GraphNode<any, any>


sourcePosition

• sourcePosition: Position


sourceX

• sourceX: number


sourceY

• sourceY: number


style

• Optional style: CSSProperties


target

• target: string


targetHandleId

• Optional targetHandleId: string


targetNode

• targetNode: GraphNode<any, any>


targetPosition

• targetPosition: Position


targetX

• targetX: number


targetY

• targetY: number


type

• Optional type: string


updatable

• Optional updatable: boolean

Released under the MIT License.