Creates a connector.
connector identifier.
SVG container to contain all the connector visuals.
whole diagram settings.
Protected
arrow1SVG polygon for the start tip arrow.
Protected
arrow2SVG polygon for the end tip arrow.
Protected
arrowArrow height.
Protected
arrowArrow width.
Defines location of arrows on a connector.
both
- arrows displayed on both ends of a connector.start
- arrow displayend on the start side of a connector.end
- arrow displayed on the end side of a connector.none
- no arrows are displayed.SVG group containing all the SVG elements for this connector.
Optional
endReference to the stencil connector port and the end tip of this connector.
Optional
endReference to the stencil at the end tip of this connector.
Invisible wider connector line used to improve selection accuracy.
Optional
startReference to the stencil connector port and the start tip of this connector.
Optional
startReference to the stencil at the start tip of this connector.
Connector line color.
Connector line dash array.
Connector line width.
Text block displaying the connector label.
Bounding box for the label text.
Visible connector line.
The top level SVG element (group) of the connector's visual.
X coordinate of the start tip.
X coordinate of the end tip.
Y coordinate of the start tip.
Y coordinate of the end tip.
Static
typeA string representation of the type used in diagram configuration (state) JSON.
Internal connector identifier used in state/configuration JSON as reference to this connector.
Gets label text for the connector.
Sets label text for the connector.
Protected
settingsDiagramSettings of the whole diagram.
A string representation of the type used in diagram configuration (state) JSON.
Instance accessor returning the value of static typeName.
Protected
getProtected
getReturns connector's state (configuration) used for storing the diagram and for undo/redo operations.
connector state object.
Restores connector settings from a previously saved state (configuration).
previously saved or created state.
stencils and ports the connector is connecting.
Protected
rotateSets connector's arrow type.
arrow type.
Sets end tip position to supplied coordinates.
new tip position.
Sets start tip position to supplied coordinates.
new tip position.
Protected
setStatic
getReturns connector thumbnail used to define the shape of the connector in the DiagramEditor.
thumbnail image width
thumbnail image height
SVG image of the thumbnail.
Generated using TypeDoc
Angled connector is a type of connector comprised of vertical and horizontal lines only.