Search results

StraightSegment API in Angular Diagram API component

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’