<｜begin▁of▁sentence｜>### Instruction:
As a robotics engineer working on a project to optimize automated guided vehicles (AGVs) in a manufacturing facility, you have a specific requirement to create a directed copy of a graph representing the layout of the factory floor. The original undirected graph has the following edge set: [(0, 1), (1, 2), (2, 0)]. You need to use the as_directed function in the igraph API to accomplish this and then display the directed edges for further analysis and mapping of optimal routes for the AGVs.
### Response:
import igraph as ig

# Create an undirected graph
edges = [(0, 1), (1, 2), (2, 0)]
g = ig.Graph(edges=edges)

# Create a directed copy of the graph
directed_g = g.as_directed()

# Print the directed edges
directed_edges = directed_g.get_edgelist()
print('Directed edges:', directed_edges)
<|EOT|>
