<｜begin▁of▁sentence｜>### Instruction:
Given a graph with the edge set [(0, 1), (1, 2), (2, 3), (3, 4), (4, 0)], how do you save this graph to a file using the unified writing function, specifying the format as GraphML?
### Response:
from igraph import Graph

# Create a simple graph
edges = [(0, 1), (1, 2), (2, 3), (3, 4), (4, 0)]
g = Graph(edges=edges)

# Save the graph to a file in GraphML format
filename = 'saved_graph.graphml'
g.write(filename, format='graphml')
<|EOT|>
