<｜begin▁of▁sentence｜>### Instruction:
Given a graph with the edge set [(0, 1), (1, 2), (2, 3), (3, 0)], can you save this graph using the write_graphml function from igraph to a GraphML file named 'my_graph.graphml'?
### Response:
import igraph as ig

# Define the edges for the graph
g = ig.Graph(edges=[(0, 1), (1, 2), (2, 3), (3, 0)])

# Write the graph to a GraphML file
g.write_graphml('my_graph.graphml')
<|EOT|>
