<｜begin▁of▁sentence｜>### Instruction:
Given a graph with edge set [(0, 1), (1, 2), (2, 3), (3, 4)], can you use the linegraph function in igraph to create its line graph and output the vertices and edges of the line graph?
### Response:
from igraph import Graph

edges = [(0, 1), (1, 2), (2, 3), (3, 4)]
original_graph = Graph(edges=edges)
line_graph = original_graph.linegraph()

print('Vertices of original graph:', original_graph.vs.indices)
print('Vertices of line graph:', line_graph.vs.indices)
print('Edges of line graph:', line_graph.get_edgelist())
<|EOT|>
