Skip to Content
πŸ“£ We just released Svelte Flow 1.0 Alpha β€” try it out and give us your feedback!
ReferenceTypesDefaultEdgeOptions

DefaultEdgeOptions

Many properties on an Edge are optional. When a new edge is created, the properties that are not provided will be filled in with the default values passed to the defaultEdgeOptions prop of the <SvelteFlow /> component.

export type DefaultEdgeOptions<T> = { type?: string; animated?: boolean; hidden?: boolean; deletable?: boolean; selectable?: boolean; data?: T; selected?: boolean; markerStart?: string | EdgeMarker; markerEnd?: string | EdgeMarker; zIndex?: number; ariaLabel?: string; interactionWidth?: number; };

Fields

#type?
string
#animated?
boolean
#hidden?
boolean
#deletable?
boolean
#selectable?
boolean
#data?
T
#selected?
boolean
#markerStart?
string | EdgeMarker
#markerEnd?
string | EdgeMarker
#zIndex?
number
#ariaLabel?
string
#interactionWidth?
number
Last updated on