<｜begin▁of▁sentence｜>### Instruction:
As a security officer in charge of monitoring and securing a large event venue, I need to utilize network analysis to ensure the safety and security of the premises. Suppose I have received a list of integers representing the degrees of connections between different security checkpoints and restricted areas within the venue. I am looking to use a tool like the Degree_Sequence method in the NetworkX library to construct a graph based on this degree sequence. Once the graph is constructed, I will be able to analyze the connections and identify any potential vulnerabilities or inefficiencies in the security layout.

I would then like to display a summary of the constructed graph, which will provide a visual representation of the connections between different checkpoints and areas. This will allow me to make informed decisions about optimizing the security patrol routes and identifying any areas that may require additional monitoring.
### Response:
from igraph import Graph

# Assuming `degree_sequence` is a list of integers that we have pre-defined
# which represents the degree sequence for the graph we want to generate
degree_sequence = [3, 2, 2, 1, 1]

# Using the Degree Sequence constructor to create a graph
g = Graph.Degree_Sequence(degree_sequence)

# Printing out the summary of the graph to check its properties
print(g.summary())
<|EOT|>
