<｜begin▁of▁sentence｜>### Instruction:
As a glass artist creating a custom glass installation for a corporate office lobby, you have incorporated a series of directed glass panels to represent the flow of energy within the space. Each glass panel features unique arrow designs of varying widths to symbolize the intensity of the energy flow in different areas. Utilizing the EdgeCollection.get_arrow_width function in NetworkX API, you need to extract the specific arrow widths assigned to each edge connecting the glass panels in order to ensure the accurate representation of energy dynamics in your installation.
### Response:
from igraph import Graph

# Assuming we have a directed graph
g = Graph(directed=True)

g.add_vertices(3)
g.add_edges([(0, 1), (1, 2)])

# Set edge attributes for arrow width
edge_widths = [2, 3]
for edge, width in zip(g.es, edge_widths):
    edge['width'] = width

# Get the arrow widths
arrow_widths = g.es.get_arrow_width()

# Print the arrow widths
print(arrow_widths)
<|EOT|>
