Reference
DefaultEdgeOptions

DefaultEdgeOptions<T>

Source on GitHub (opens in a new tab)

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 <ReactFlow /> 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;
  focusable?: boolean;
};

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
#focusable?
boolean