リファレンス

ConnectionLineType

GitHubのソース

<ReactFlow /> コンポーネントに connectionLineType プロパティを設定すると、新しいエッジを作成する際にレンダリングされる接続線のスタイルが決定されます。

export enum ConnectionLineType {
  Bezier = 'default',
  Straight = 'straight',
  Step = 'step',
  SmoothStep = 'smoothstep',
  SimpleBezier = 'simplebezier',
}

注釈

  • カスタム接続線コンポーネントをレンダリングする場合、この値は ConnectionLineComponentProps の一部としてコンポーネントに渡されます。