<｜begin▁of▁sentence｜>### Instruction:
As a performance artist, when creating a new interactive art installation, it can be beneficial to retrieve a list of all the different attributes for the physical components and sensors that will be incorporated into the installation. This allows for a comprehensive understanding of the available attributes and can help in preparing for the integration of the components into the overall artistic concept.
### Response:
from igraph import Graph

# Assume we have a graph object with predefined edges and attributes
g = Graph([(0, 1), (1, 2), (2, 0)])
g.es['weight'] = [1.0, 2.0, 3.0]
g.es['color'] = ['red', 'green', 'blue']

# Use the attribute_names function to get the list of edge attributes
edge_attributes = g.es.attribute_names()
print(edge_attributes)
<|EOT|>
