<｜begin▁of▁sentence｜>### Instruction:
As a GIS Specialist who designs and maintains geographic information systems, you are tasked with analyzing and visualizing spatial data for a project involving a graph with 5 vertices and random edges. Using the `summary` method in networkx, how can you generate a complete summary of the graph, including the header line and the list of all edges, to better understand its structure and connectivity?
### Response:
from igraph import Graph

# Generate a graph with 5 vertices and random edges
g = Graph.Erdos_Renyi(n=5, m=5)

# Display summary with verbose information
summary_str = g.summary(verbosity=1)
print(summary_str)
<|EOT|>
