Interface: EdgeProps<Data, CustomEvents>
Type parameters
Name | Type |
---|---|
Data | ElementData |
CustomEvents | {} |
Hierarchy
EdgeProps
Table of contents
Properties
- animated
- curvature
- data
- events
- id
- interactionWidth
- label
- labelBgBorderRadius
- labelBgPadding
- labelBgStyle
- labelShowBg
- labelStyle
- markerEnd
- markerStart
- selected
- source
- sourceHandleId
- sourceNode
- sourcePosition
- sourceX
- sourceY
- style
- target
- targetHandleId
- targetNode
- targetPosition
- targetX
- targetY
- type
- updatable
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
• 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