@vue-flow/monorepo • Docs
Interface: EdgeProps<Data, CustomEvents, Type> ​
these props are passed to edge components
Extends ​
Type Parameters ​
• Data = ElementData
• CustomEvents = object
• Type extends string = string
Properties ​
animated? ​
optionalanimated:boolean
curvature? ​
optionalcurvature:number
data ​
data:
Data
events ​
events:
EdgeEventsOn<CustomEvents>
contextual and custom events of edge
id ​
id:
string
interactionWidth? ​
optionalinteractionWidth:number
label? ​
optionallabel:string|object|VNode<RendererNode,RendererElement,object> |Component<EdgeTextProps>
labelBgBorderRadius? ​
optionallabelBgBorderRadius:number
Label Bg border radius
Inherited from ​
EdgeLabelOptions.labelBgBorderRadius
labelBgPadding? ​
optionallabelBgPadding: [number,number]
Label Bg padding
Inherited from ​
EdgeLabelOptions.labelBgPadding
labelBgStyle? ​
optionallabelBgStyle:CSSProperties
Label Bg styles (CSSProperties)
Inherited from ​
labelShowBg? ​
optionallabelShowBg:boolean
Show label bg
Inherited from ​
labelStyle? ​
optionallabelStyle:CSSProperties
Label styles (CSSProperties)
Inherited from ​
markerEnd ​
markerEnd:
string
markerStart ​
markerStart:
string
selected? ​
optionalselected:boolean
source ​
source:
string
sourceHandleId? ​
optionalsourceHandleId:string
sourceNode ​
sourceNode:
GraphNode<any,any,string>
sourcePosition ​
sourcePosition:
Position
sourceX ​
sourceX:
number
Inherited from ​
sourceY ​
sourceY:
number
Inherited from ​
style? ​
optionalstyle:CSSProperties
target ​
target:
string
targetHandleId? ​
optionaltargetHandleId:string
targetNode ​
targetNode:
GraphNode<any,any,string>
targetPosition ​
targetPosition:
Position
targetX ​
targetX:
number
Inherited from ​
targetY ​
targetY:
number
Inherited from ​
type ​
type:
Type
updatable? ​
optionalupdatable:boolean