<｜begin▁of▁sentence｜>### Instruction:
As a cartoonist, you've been working on a new comic strip that features characters and their relationships within a network. You want to represent the connections between the characters by creating a graph with 4 vertices and edges between [(0, 1), (1, 2), (2, 3)]. Now, you need to write this edge list to a text file using the `write_edgelist` function in igraph as part of your publication process.
### Response:
from igraph import Graph

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

# Write the edge list to a file
g.write_edgelist('output_edge_list.txt')
<|EOT|>
