Skip to Content
React Flow 13 is here! Read the announcement →

EdgeTypes

Source on GitHub 

The EdgeTypes type is used to define custom edge types. Each key in the object represents an edge type, and the value is the component that should be rendered for that type.

export type EdgeTypes = { [key: string]: React.ComponentType<EdgeProps>; };