Segments API in JavaScript (ES5) Diagram API control
Defines the segment type of the connector
Straight - Sets the segment type as Straight
Orthogonal - Sets the segment type as Orthogonal
Polyline - Sets the segment type as Polyline
Bezier - Sets the segment type as Bezier