<｜begin▁of▁sentence｜>### Instruction:
Given a directed graph with vertices and edges specified by you, can you use DarkToLightEdgeDrawer from igraph to create a plot of the graph where directed edges transition from dark to light to indicate their direction?
### Response:
import igraph as ig
import matplotlib.pyplot as plt
from igraph.drawing.edge import DarkToLightEdgeDrawer

# Create a directed graph with three vertices and two edges
g = ig.Graph(directed=True)
g.add_vertices(3)
g.add_edges([(0, 1), (1, 2)])

# Set up the plot
fig, ax = plt.subplots()

# Set the layout for the graph
layout = g.layout('kk')

# Create the plot with a dark-to-light edge drawer
ig.plot(g, layout=layout, target=ax, edge_drawer=DarkToLightEdgeDrawer())

# Display the plot
plt.show()
<|EOT|>
