ConnectionLineComponent
ConnectionLineComponent
类型允许你提供自定义 React 组件,以便在用户创建新边时渲染连接线。该组件接收 ConnectionLineComponentProps
作为其 props。
¥The ConnectionLineComponent
type allows you to provide a custom React component to render the connection line when users create new edges. The component receives ConnectionLineComponentProps
as its props.
type ConnectionLineComponent = React.ComponentType<ConnectionLineComponentProps>;
Last updated on