<｜begin▁of▁sentence｜>### Instruction:
Given a directed, empty graph created using igraph, how do you add edges with different attributes such as weight, color, and label, to this graph and then verify the addition of these edges along with their attributes?
### Response:
['from igraph import Graph', '', '# Initialize an empty graph', 'g = Graph(directed=True)', '', '# Add edges with attributes', 'g.add_edge(0, 1, weight=2)', "g.add_edge(1, 2, color='red')", "g.add_edge(2, 0, label='edge_label')", '', '# Print out edges to verify', 'print(g.get_edgelist())', 'for edge in g.es:', '    print(edge.attributes())']
<|EOT|>
