connect_shapes_via_connector_index method

connect_shapes_via_connector_index(shape_from_id, from_index, shape_to_id, to_index, connector_id)

Connect shapes via connector index.

def connect_shapes_via_connector_index(self, shape_from_id, from_index, shape_to_id, to_index, connector_id):
    ...
Parameter Type Description
shape_from_id int The ID of shape where the connector begins Shape.
from_index int The index of the connection on the first shape
shape_to_id int The ID of shape where the connector ends Shape.
to_index int he index of the connection on the second shape
connector_id int The ID of shape with type Dynamic connector Shape.

connect_shapes_via_connector_index(shape_from, from_index, shape_to, to_index, connector)

Connect shapes via connector index.

def connect_shapes_via_connector_index(self, shape_from, from_index, shape_to, to_index, connector):
    ...
Parameter Type Description
shape_from Shape The shape where the connector begins Shape.
from_index int The index of the connection on the first shape
shape_to Shape The shape where the connector ends Shape.
to_index int he index of the connection on the second shape
connector Shape The shape with type Dynamic connector Shape.

See Also