<｜begin▁of▁sentence｜>### Instruction:
Given a graph read from 'graph89.gml', can you use the get_diameter function to find the vertices that constitute the diameter's path and print out both the vertices and edges along this path?
### Response:
from igraph import Graph

# Read a graph from a GML file
g = Graph.Read_GML('graph89.gml')

# Find the diameter of the graph
# Assume it is an undirected graph without weights
diameter_vertices = g.get_diameter(directed=False, unconn=False, weights=None)

# Extract the actual path
path_edges = [(diameter_vertices[i], diameter_vertices[i+1]) for i in range(len(diameter_vertices)-1)]

print('Vertices in the diameter path:', diameter_vertices)
print('Edges in the diameter path:', path_edges)
<|EOT|>
