<｜begin▁of▁sentence｜>### Instruction:
Given a directed graph 'g', how can you retrieve the array of arrow widths for the edges using igraph?
### Response:
import igraph as ig

# Assuming 'g' is a directed instance of an igraph.Graph
edges = g.es
arrow_widths = edges.get_arrow_width()

print(arrow_widths)
<|EOT|>
