<｜begin▁of▁sentence｜>### Instruction:
Given a directed graph with a set of edges and associated edge attributes for weight and color, can you retrieve the list of edge attribute names?
### Response:
from igraph import Graph

# Create a graph
edges = [(0, 1), (1, 2), (2, 3)]
graph = Graph(edges=edges, directed=True)

# Add some edge attributes
g.es['weight'] = [1, 2, 3]
g.es['color'] = ['red', 'green', 'blue']

# Retrieve the attribute names of the edges
edge_attributes = graph.edge_attributes()

# Print out the edge attribute names
print(edge_attributes)
<|EOT|>
