<｜begin▁of▁sentence｜>### Instruction:
As a data scientist working for a music festival organization, you are tasked with analyzing the connections and interactions among jazz musicians who will be performing at the upcoming jazz festival. Using the NetworkX library in Python, you need to employ the Graph Summary function to obtain a concise representation of the relationships and collaborations among the jazz musicians, which will be helpful for planning and coordinating performances at the festival.
### Response:
from networkx import Graph
from networkx.algorithms import approximation as approx

# Generate a random graph
G = Graph()
G.add_edges_from([(1, 2), (1, 3), (2, 3), (2, 4), (3, 4)])

# Use the Graph Summary function to print a summary of the graph
summary = approx.GraphSummary(G)
print(summary)
<|EOT|>
