stroke String|Object

Defines the stroke options of the connector.

stroke.color String (default: "Black")

Defines the stroke color.

stroke.dashType String

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.width Number (default: 1)

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

In this article
Not finding the help you need?