<｜begin▁of▁sentence｜>### Instruction:
Given an igraph.Graph instance and a Cairo surface to draw on, how can you use AbstractCairoEdgeDrawer's draw_directed_edge method to draw a directed edge between two specified points on the surface?
### Response:
from igraph import Plot
from igraph.drawing.edge import AbstractCairoEdgeDrawer

# Assuming 'graph' is an igraph.Graph instance and 'surface' is a Cairo surface
plot = Plot(surface=surface)
edge_drawer = AbstractCairoEdgeDrawer(plot)

# Draw a directed edge from point (50, 50) to point (150, 150)
edge_drawer.draw_directed_edge((50, 50), (150, 150))
<|EOT|>
