Skip to content
On this page

Interface: EdgeProps<Data, CustomEvents>

Type parameters

NameType
DataElementData
CustomEvents{}

Table of contents

Properties

Properties

animated

• Optional animated: boolean


curvature

• Optional curvature: number


data

• data: Data


events

• events: EdgeEventsOn<CustomEvents>


id

• id: string


interactionWidth

• Optional interactionWidth: number


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

• markerEnd: string


markerStart

• 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.