<｜begin▁of▁sentence｜>### Instruction:
Given a directed igraph graph with edges (0, 1) and (1, 2), how can one use `get_arrow_size` function from the EdgeCollection to determine the arrow sizes for the edges?
### Response:
import igraph as ig

# Create a directed graph
g = ig.Graph(directed=True)
# Add vertices and edges to the graph
g.add_vertices(3)
g.add_edges([(0, 1), (1, 2)])

# Now we obtain the arrow sizes for the edges in the directed graph
arrow_sizes = g.es.get_arrow_size()

# Print the arrow sizes for each edge
for idx, edge in enumerate(g.es):
    print(f"Edge {edge.tuple} has an arrow size of {arrow_sizes[idx]}")
<|EOT|>
