strokeString|Object

Defines the stroke options of the connector.

stroke.colorString(default: "Black")

Defines the stroke color.

stroke.dashTypeString

The stroke dash type.

The following dash types are supported:

  • "dash" - a line consisting of dashes
  • "dashDot" - a line consisting of a repeating pattern of dash-dot
  • "dot" - a line consisting of dots
  • "longDash" - a line consisting of a repeating pattern of long-dash
  • "longDashDot" - a line consisting of a repeating pattern of long-dash-dot
  • "longDashDotDot" - a line consisting of a repeating pattern of long-dash-dot-dot
  • "solid" - a solid line

stroke.widthNumber(default: 1)

Defines the thickness or width of the connector's stroke.