ConnectorSegment API in React Diagram API component
Defines the behavior of connector segments
Properties
allowDrag
boolean
Defines the segment to be drag or not
Defaults to true
type
Segments
Defines the type of the segment
- Straight - Sets the segment type as Straight
- Orthogonal - Sets the segment type as Orthogonal
- Bezier - Sets the segment type as Bezier
Defaults to ‘Straight’