---
title: "get_connector_rule method"
url: "https://reference.aspose.com/diagram/python-net/aspose.diagram/shape/get_connector_rule/"
product: "Aspose.Diagram for Python via .NET API References"
---


## get_connector_rule() {#}

Returns a connectorRule that contains the shape id and connecton that are connected to the shape.

### Returns 


ConnectorRule.


```python
def get_connector_rule(self):
    ...
```





### See Also
* module [aspose.diagram](../../)
* class [Shape](/diagram/python-net/aspose.diagram/shape)
