Skip to Content
✨ Svelte Flow 1.0 is here! Rewritten for Svelte 5 with many new features and improvements.
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.

Fields

NameTypeDefault
typestring | undefined

Type of edge defined in edgeTypes.

animatedboolean
hiddenboolean
deletableboolean
selectableboolean
dataRecord<string, unknown>

Arbitrary data passed to an edge.

markerStartEdgeMarkerType

Set the marker on the beginning of an edge.

markerEndEdgeMarkerType

Set the marker on the end of an edge.

zIndexnumber
ariaLabelstring
interactionWidthnumber

ReactFlow renders an invisible path around each edge to make them easier to click or tap on. This property sets the width of that invisible path.

labelstring
labelStylestring
stylestring
classClassValue
focusableboolean
Last updated on