Interface: Edge<Data, CustomEvents>
Type parameters
Name | Type |
---|---|
Data | ElementData |
CustomEvents | extends Record <string , CustomEvent > = any |
Table of contents
Properties
- animated
- class
- data
- events
- hidden
- id
- interactionWidth
- label
- labelBgBorderRadius
- labelBgPadding
- labelBgStyle
- labelShowBg
- labelStyle
- markerEnd
- markerStart
- selectable
- source
- sourceHandle
- style
- target
- targetHandle
- template
- type
- updatable
Properties
animated
• Optional
animated: boolean
class
• Optional
class: string
| ClassFunc
<GraphEdge
<Data
, CustomEvents
>>
data
• Optional
data: Data
events
• Optional
events: Partial
<EdgeEventsHandler
<CustomEvents
>>
hidden
• Optional
hidden: boolean
id
• id: string
interactionWidth
• Optional
interactionWidth: number
label
• Optional
label: string
| VNode
<RendererNode
, RendererElement
, { [key: string]
: any
; }> | Component
<EdgeTextProps
, any
, any
, ComputedOptions
, MethodOptions
>
labelBgBorderRadius
• Optional
labelBgBorderRadius: number
labelBgPadding
• Optional
labelBgPadding: [number
, number
]
labelBgStyle
• Optional
labelBgStyle: CSSProperties
labelShowBg
• Optional
labelShowBg: boolean
labelStyle
• Optional
labelStyle: CSSProperties
markerEnd
• Optional
markerEnd: EdgeMarkerType
markerStart
• Optional
markerStart: EdgeMarkerType
selectable
• Optional
selectable: boolean
source
• source: string
sourceHandle
• Optional
sourceHandle: null
| string
style
• Optional
style: Styles
| StyleFunc
<GraphEdge
<Data
, CustomEvents
>>
target
• target: string
targetHandle
• Optional
targetHandle: null
| string
template
• Optional
template: EdgeComponent
type
• Optional
type: string
updatable
• Optional
updatable: EdgeUpdatable