<｜begin▁of▁sentence｜>### Instruction:
Given a directed graph with a cycle and a parallel edge from node 0 to node 2, generate a text representation using the `write_network_text` function from NetworkX.
### Response:
import networkx as nx

# Create a directed graph G with a cycle
G = nx.cycle_graph(4, create_using=nx.DiGraph)

# Add an edge creating a parallel path from node 0 to node 2
to_create_parallel_edges = [(0, 2)]
G.add_edges_from(to_create_parallel_edges)

# Write the network structure to a text representation
nx.write_network_text(G, with_labels=True)
<|EOT|>
