connectShapesViaConnectorIndex

connectShapesViaConnectorIndex(shapeFromId, fromIndex, shapeToId, toIndex, connectorId) (1 of 2)

Connect shapes via connector index.

ParameterTypeDescription
shapeFromIdlongThe ID of shape where the connector begins Shape .
fromIndexintThe index of the connection on the first shape
shapeToIdlongThe ID of shape where the connector ends Shape .
toIndexinthe index of the connection on the second shape
connectorIdlongThe ID of shape with type Dynamic connector Shape .

connectShapesViaConnectorIndex(shapeFrom, fromIndex, shapeTo, toIndex, connector) (2 of 2)

Connect shapes via connector index.

ParameterTypeDescription
shapeFromShapeThe shape where the connector begins Shape .
fromIndexintThe index of the connection on the first shape
shapeToShapeThe shape where the connector ends Shape .
toIndexinthe index of the connection on the second shape
connectorShapeThe shape with type Dynamic connector Shape .