StraightSegment
23 Sep 20251 minute to read
Defines the behavior of straight segments
Properties
allowDrag boolean
Defines the segment to be drag or not
Defaults to true
point PointModel
Sets the end point of the connector segment
Defaults to new Point(0,0)
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’