connectShapesViaConnectorIndex
Contents
[
Hide
]connectShapesViaConnectorIndex(shapeFromId, fromIndex, shapeToId, toIndex, connectorId) (1 of 2)
Connect shapes via connector index.
| Parameter | Type | Description |
|---|---|---|
| shapeFromId | long | The ID of shape where the connector begins Shape . |
| fromIndex | int | The index of the connection on the first shape |
| shapeToId | long | The ID of shape where the connector ends Shape . |
| toIndex | int | he index of the connection on the second shape |
| connectorId | long | The ID of shape with type Dynamic connector Shape . |
connectShapesViaConnectorIndex(shapeFrom, fromIndex, shapeTo, toIndex, connector) (2 of 2)
Connect shapes via connector index.
| Parameter | Type | Description |
|---|---|---|
| shapeFrom | Shape | The shape where the connector begins Shape . |
| fromIndex | int | The index of the connection on the first shape |
| shapeTo | Shape | The shape where the connector ends Shape . |
| toIndex | int | he index of the connection on the second shape |
| connector | Shape | The shape with type Dynamic connector Shape . |