<｜begin▁of▁sentence｜>### Instruction:
As a plant breeder, imagine you have a database of different plant shapes that you use to create unique patterns for your research and development. Sometimes, a specific shape like 'Pentagon' may not exist in your database. In this case, how would you default to a common shape, like a rectangle, when the specific shape is not available in your database of plant shapes?
### Response:
from igraph.drawing.shapes import ShapeDrawerDirectory

# Suppose 'Pentagon' is a shape name we are checking in ShapeDrawerDirectory
shape_name = 'Pentagon'
default_drawer = ShapeDrawerDirectory.get('rect')  # Use rectangle drawer as default

# Resolve the default drawer for the shape
shape_drawer = ShapeDrawerDirectory.resolve_default(shape_name, default_drawer)
print(shape_drawer)
<|EOT|>
