ConnectionLineComponent

Source on GitHub

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>;