<｜begin▁of▁sentence｜>### Instruction:
Given a graph with edges [(1, 2), (2, 3), (3, 4), (4, 5)], what are all the simple edge paths from node 1 to node 5?
### Response:
import networkx as nx

# Create a graph
G = nx.Graph()
G.add_edges_from([(1, 2), (2, 3), (3, 4), (4, 5)])

# Generate all simple paths
paths = list(nx.all_simple_edge_paths(G, source=1, target=5, cutoff=None))

for path in paths:
  print(path)
<|EOT|>
