Interface: EdgeProps<Data, CustomEvents, Type> ​
these props are passed to edge components
Type parameters ​
Name | Type |
---|---|
Data | ElementData |
CustomEvents | {} |
Type | extends string = string |
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
>
contextual and custom events of edge
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
Label Bg border radius
Inherited from ​
EdgeLabelOptions.labelBgBorderRadius
labelBgPadding ​
• Optional
labelBgPadding: [number
, number
]
Label Bg padding
Inherited from ​
EdgeLabelOptions.labelBgPadding
labelBgStyle ​
• Optional
labelBgStyle: CSSProperties
Label Bg styles (CSSProperties)
Inherited from ​
labelShowBg ​
• Optional
labelShowBg: boolean
Show label bg
Inherited from ​
labelStyle ​
• Optional
labelStyle: CSSProperties
Label styles (CSSProperties)
Inherited from ​
markerEnd ​
• markerEnd: string
markerStart ​
• markerStart: string
selected ​
• Optional
selected: boolean
source ​
• source: string
sourceHandleId ​
• Optional
sourceHandleId: string
sourceNode ​
• sourceNode: GraphNode
<any
, any
, string
>
sourcePosition ​
• sourcePosition: Position
sourceX ​
• sourceX: number
Inherited from ​
sourceY ​
• sourceY: number
Inherited from ​
style ​
• Optional
style: CSSProperties
target ​
• target: string
targetHandleId ​
• Optional
targetHandleId: string
targetNode ​
• targetNode: GraphNode
<any
, any
, string
>
targetPosition ​
• targetPosition: Position
targetX ​
• targetX: number
Inherited from ​
targetY ​
• targetY: number
Inherited from ​
type ​
• type: Type
updatable ​
• Optional
updatable: boolean