Skip to Content
参考类型

EdgeTypes

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