<｜begin▁of▁sentence｜>### Instruction:
As a patent attorney advising a client in the technology sector, you may need to analyze and visualize network data related to the client's innovation processes. Suppose your client is interested in understanding the connectivity patterns among 10 different research teams within their organization. Using the Erdős-Rényi model with a probability of 0.5 for each potential collaboration between teams, you can utilize NetworkX and Matplotlib to generate and visualize this network. This can provide valuable insights into the potential for interdisciplinary collaborations and knowledge sharing within the organization.
### Response:
import networkx as nx
import matplotlib.pyplot as plt

# Generate a graph based on the Erdős-Rényi model with 10 nodes and a probability of 0.5 for edge creation
G = nx.erdos_renyi_graph(n=10, p=0.5)

# Draw the graph
nx.draw(G, with_labels=True)
plt.show()
<|EOT|>
