<｜begin▁of▁sentence｜>### Instruction:
As a pediatrician, you understand the importance of visual aids in explaining medical concepts to young patients and their caregivers. Imagine you're discussing the respiratory system with a young patient who is curious about how air travels through the lungs. To illustrate this, you want to create a visual representation of a tree graph, where each vertex represents a component of the respiratory system, and the edges depict the flow of air.

Using the MatplotlibEdgeDrawer in igraph, you plan to draw the tree graph with 5 vertices, symbolizing key parts of the respiratory system. Each non-leaf vertex will have 2 children, representing branching air pathways. To make the diagram clearer, you aim to visually distinguish between directed and undirected edges, reflecting the specific flow of air through the respiratory system.

This visual aid will help your young patient understand the complex process of breathing in a fun and engaging way, promoting their health literacy and empowering them to take an active role in their well-being.
### Response:
import igraph as ig
import matplotlib.pyplot as plt
from igraph.drawing import Plot

# Set up an igraph graph
g = ig.Graph.Tree(5, 2)

# Set up the visual style for the plot
visual_style = {'vertex_size': 20, 'vertex_label': g.vs['name']}

# Set up a plot with a matplotlib backend
plot = Plot('graph.png', bbox=(300, 300), background='white')
plot.add(g, **visual_style)

# Draw the graph with Matplotlib
ctx = plt.gca()
edge_drawer = ig.drawing.matplotlib.MatplotlibEdgeDrawer(ctx)
for edge in g.es:
    src_vertex = g.vs[edge.source]
    dest_vertex = g.vs[edge.target]
    if edge['is_directed']:
        edge_drawer.draw_directed_edge(edge, src_vertex, dest_vertex)
    else:
        edge_drawer.draw_undirected_edge(edge, src_vertex, dest_vertex)

# Save and show the plot
plot.save()
plt.show()
<|EOT|>
