Skip to Content
You are viewing the v12 docs of React Flow. You can find the latest version here.

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>; };
Last updated on