<｜begin▁of▁sentence｜>### Instruction:
As an Information Security Analyst responsible for safeguarding computer systems and networks against cyber threats, you might encounter a scenario where you need to document the connections within a network graph for further analysis. Suppose you're tasked with ensuring the security of a company's internal network. In this scenario, imagine you've been provided with an instance of an igraph graph representing the network topology, including various nodes and edges. To assist in your analysis, you need to export the edge list of this graph to a text file. To accomplish this, you can utilize the `write_edgelist` function available in the igraph API. This function enables you to save the edge connections of the graph into a structured text file format, facilitating further examination and security assessment.
### Response:
from igraph import Graph

# Assume 'g' is an instance of an igraph graph
g = Graph(edges=[(0, 1), (1, 2), (2, 0)])

# Write the edge list to a text file
g.write_edgelist('output.edgelist')
<|EOT|>
