Skip to Content

EdgeTypes

GitHub 上的源代码 

¥Source on GitHub 

EdgeTypes 类型用于定义自定义边类型。对象中的每个键代表一种边类型,其值是应为该类型渲染的组件。

¥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