<｜begin▁of▁sentence｜>### Instruction:
As a naturalist leading a guided tour through a wildlife sanctuary, you stumble upon a hidden network of interconnected burrows, each representing a unique ecosystem within the sanctuary. These burrows are like nodes in a graph, with intricate pathways connecting them, much like the relationships between different species in an ecosystem.

To document this discovery and share it with your colleagues, you decide to utilize your knowledge of network analysis tools. You recall that you can represent this network using the NetworkX library in Python. You have a file named 'network.gml' containing the data about these burrows and their connections.

Now, you want to convert this network representation into a DOT file format, which provides a visual representation of the graph structure. To achieve this, you plan to use the `write_dot` function provided by NetworkX.

Your task is to use the `write_dot` function to save the graph from the 'network.gml' file into a new file named 'network.dot', thereby preserving the intricate relationships between the burrows for further analysis and interpretation.
### Response:
from igraph import Graph

# Load a graph from a .gml file
g = ig.read('network.gml')

# Write the graph to a file in DOT format
g.write_dot('network.dot')
<|EOT|>
