<｜begin▁of▁sentence｜>### Instruction:
As an Ear, Nose, and Throat (ENT) Specialist, imagine you have a network of airways in the human body represented as an undirected graph. You want to analyze the flow of air in these airways by converting the graph to a directed graph using Python's NetworkX library. Once converted, you would like to list the edges of the directed graph to better understand the airflow patterns.
### Response:
import networkx as nx

# Create an undirected graph
g = nx.Graph()
# Add some edges
g.add_edge(1, 2)
g.add_edge(2, 3)

# Convert the undirected graph to a directed graph
g_directed = g.to_directed()

# Display edges of the directed graph
print(list(g_directed.edges()))
<|EOT|>
