Connectors.Straight Class
The Straight connector draws a simple straight line between the two anchor points.
Constructor
Connectors.Straight
(
-
params
Parameters:
-
paramsObjectConstructor parameters.
-
[stub=0]Integer optionalOptional distance to travel from each endpoint before making the connection between the two.
-
[sourceStub]Integer optionalOptional stub for the source endpoint only.
-
[targetStub]Integer optionalOptional stub for the target endpoint only.
-
[gap=0]Integer optionalOptional gap to leave between the endpoints and the start of the connector.
-
[sourceGap]Integer optionalOptional gap for the source endpoint only.
-
[targetGap]Integer optionalOptional gap for the target endpoint only.
-
