connected_shapes method

connected_shapes(flag, category_filter)

Returns an array that contains the identifiers (IDs) of the shapes that are connected to the shape.

Returns

IDs arrayInt64.

def connected_shapes(self, flag, category_filter):
    ...
Parameter Type Description
flag ConnectedShapesFlags Filters the array of returned shape IDs by the directionality of the connectors. See Remarks for possible valuesConnectedShapesFlags.
category_filter str Filters the array of returned shape IDs by limiting it to the IDs of shapes that match the specified categoryString.

See Also