<｜begin▁of▁sentence｜>### Instruction:
As a Network Safety Consultant, I assess the risk levels of data flow in a small business network with three main nodes and two interconnected paths. My aim is to determine the appropriate widths of the data pipelines to ensure optimal information transfer while mitigating risks of congestion or data loss.
### Response:
from igraph import Graph

# create a sample directed graph
g = Graph(directed=True)
g.add_vertices(3)
g.add_edges([(0, 1), (1, 2)])

# retrieve the edge collection
edges = g.es

# get the arrow widths for the edges
arrow_widths = edges.get_arrow_widths()

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