<｜begin▁of▁sentence｜>### Instruction:
As an epidemiologist specializing in the study of disease patterns and outbreaks, you're tasked with visualizing the spread of a contagious illness within a population. You have data representing a network of 5 nodes, each node having 2 children, akin to the transmission pathways within a community. Now, utilizing the `draw_directed_edge` method from AbstractEdgeDrawer API, you need to illustrate the transmission hierarchy with directed edges, reflecting how the infection propagates through the population.
### Response:
from igraph import Graph, plot
from igraph.drawing import CairoArrowEdgeDrawer

# Sample graph creation
g = Graph.Tree(5, 2)  # Create a tree graph with 5 vertices and 2 children per node

visual_style = {"vertex_label": g.vs["name"], "margin": 20}
# Draw the graph with custom edge drawer
plot(g, 'output.png', edge_drawer=CairoArrowEdgeDrawer(), **visual_style)
<|EOT|>
