<｜begin▁of▁sentence｜>### Instruction:
Given a directed graph with 3 vertices and edges from vertex 0 to 1 and from vertex 1 to 2, can you use the CairoArrowEdgeDrawer to visually represent the graph with straight lines for undirected edges and arrows for directed edges?
### Response:
import igraph as ig
from igraph import plot

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

# Define visual style for the plot
visual_style = {'vertex_size': 20,'edge_curved': False,'edge_arrow_size': 1}

# Plot the graph
plot(g, **visual_style)
<|EOT|>
