DEMOS
DOCS
FEATURES
DOWNLOAD
PURCHASE
CONTACT
BLOG
Show:

Connectors.Straight Class

The Straight connector draws a simple straight line between the two anchor points.

Constructor

Connectors.Straight

(
  • params
)

Parameters:

  • params Object

    Constructor parameters.

    • [stub=0] Integer optional

      Optional distance to travel from each endpoint before making the connection between the two.

    • [sourceStub] Integer optional

      Optional stub for the source endpoint only.

    • [targetStub] Integer optional

      Optional stub for the target endpoint only.

    • [gap=0] Integer optional

      Optional gap to leave between the endpoints and the start of the connector.

    • [sourceGap] Integer optional

      Optional gap for the source endpoint only.

    • [targetGap] Integer optional

      Optional gap for the target endpoint only.

Item Index