<｜begin▁of▁sentence｜>### Instruction:
As a photographer, you may work with a team to capture and edit images to create visual representations of people, places, or events. In a practical scenario, suppose you are collaborating with a digital marketing team to create an online portfolio showcasing your photography projects. The team needs to retrieve and list all the attributes of the images captured, such as color grading, exposure, and resolution, in order to properly categorize and display the images. To achieve this, you can utilize the edge_attributes method in the GraphBase API to retrieve and print the list of all attributes associated with the images.
### Response:
from igraph import Graph

# Create the graph with the given edges
edges = [(0, 1), (1, 2), (2, 3)]
graph = Graph(edges=edges)

# Add some edge attributes
g.add_edge(0, 3, weight=2.5)
g.es['color'] = ['red', 'green', 'blue', 'purple']

# Get the list of edge attribute names
e_attrs = graph.edge_attributes()
print('Edge Attributes:', e_attrs)
<|EOT|>
