"connectorConnectionType"

Defines the connection type.

Synopsis

shape.connectorConnectionType (string type);

Parameters

Parameter Description
shapes

The type of connection. Can be one of :

  • "steps" (for polygon and pipe)
  • "bezier" (only for polygon)

Description

The type string can be "steps" (Polygon and Pipe) or "bezier" (only Polygon) and will be an empty string in getValue() when the object is not a connector.

When a shape (pipe or polygon) is not a connector object yet, then setting connectorConnectionType() will make it a connector.

Assignment

Polygon, Pipe