Search results

ConnectorSegment API in JavaScript (ES5) Diagram API control

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’