Skip to Content

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