<｜begin▁of▁sentence｜>### Instruction:
Given a graph with vertices (0, 1, 2) and edges connecting them in order [(0, 1), (1, 2)], can you create a custom edge drawer that inherits from DarkToLightEdgeDrawer to draw the graph with directed edges that fade from dark to light?
### Response:
from igraph import Graph, plot
from igraph.drawing.edge import DarkToLightEdgeDrawer
class MyDrawer(DarkToLightEdgeDrawer):
    def draw_directed_edge(self, edge, src_vertex, tgt_vertex):
        super(MyDrawer, self).draw_directed_edge(edge, src_vertex, tgt_vertex)

# Create a graph with 3 vertices and 2 edges
g = Graph(3)
g.add_edges([(0, 1), (1, 2)])

# Plot the graph with a custom edge drawer
plot(g, edge_drawer=MyDrawer())
<|EOT|>
