Glues the end of the connector to a connection site of a movable, as startConnect does the start.
Optionaloptions: ITransaction.OperationOptionsFrees the end of the connector, which stays where it is.
Optionaloptions: ITransaction.OperationOptionsThe kind of line the connector draws.
The movable the end is glued to; null when it is free or the movable is gone.
The site the end is glued to; null when it is free.
Where the connector's ends are on the sheet: its path runs from its frame's top-left to its bottom-right, and the frame's flips and turn put those corners where they are.
null for a connector with no placement.
Where the connector goes with each glued end on its shape's site, and the route it takes: what the sheet writes when a movable it is glued to changes, for a drawing layer to preview.
Optionalplacements: (movable: IMovable) => PlacementPreview | null
Where each movable is, as a gesture previews it; the model's when omitted.
null when no end can be placed: none is glued, or its target has not answered its sites.
The movable the start is glued to; null when it is free or the movable is gone.
The site the start is glued to; null when it is free.
Whether the end of the connector is glued to a movable.
Whether the start of the connector is glued to a movable.
Glues the start of the connector to a connection site of a movable: a shape, a picture, a chart or a control (IMovable.getConnectionSites).
The movable to glue to.
The site, numbered from 0.
Optionaloptions: ITransaction.OperationOptionsFrees the start of the connector, which stays where it is.
Optionaloptions: ITransaction.OperationOptions
A connector's two ends, each glued to a connection site of another shape or free.
Remarks
Gluing an end places the connector so the end lies on the site, and the connector follows the shape from then on: a move, turn, mirror or resize of the shape moves the connector in the same undoable step. A shape whose geometry has not evaluated yet is followed once it has. Sites are numbered from 0, as IGeometry.forEachConnection visits them.