<｜begin▁of▁sentence｜>### Instruction:
As a speech pathologist, I assess and treat speech, language, or communication disorders in individuals of all ages. In this context, imagine having a group of 20 individuals, where each individual is closely connected to four others in the group. Now, imagine that there is a need to simulate different communication patterns among these individuals, where connections can be changed with a certain probability. This scenario reflects the model of the Watts-Strogatz small-world network with a rewiring probability of 0.5. The resulting communication network can then be visualized and analyzed to understand the impact of rewiring on communication patterns.
### Response:
import networkx as nx

# Generate a Watts-Strogatz small-world network
ws_graph = nx.watts_strogatz_graph(n=20, k=4, p=0.5)

# Draw and display the graph
nx.draw(ws_graph, with_labels=True)
<|EOT|>
