ConnectionLineType
如果你在 <ReactFlow /> 组件上设置 connectionLineType 属性,它将决定在创建新边时渲染的连接线样式。
export enum ConnectionLineType {
  Bezier = 'default',
  Straight = 'straight',
  Step = 'step',
  SmoothStep = 'smoothstep',
  SimpleBezier = 'simplebezier',
}注意
- 如果你选择渲染自定义连接线组件,此值将作为 ConnectionLineComponentProps的一部分传递给你的组件。