<｜begin▁of▁sentence｜>### Instruction:
As a marriage counselor, imagine you're trying to map the relationships between members of a family. You have five members numbered 1 through 5. The relationships are such that member 1 is connected to 2, 2 is connected to 3, 3 is connected to 4, 4 is connected to 5, and 1 is directly connected to 5 as well. Here, each member is a node and each relationship is an edge. 

Now, in a situation where members 2 and 3 have decided to take a break and distance themselves from the family for personal reasons, how would you, using NetworkX, illustrate the family structure before and after this change?
### Response:
import networkx as nx
import matplotlib.pyplot as plt

# Create a graph
G = nx.Graph()
G.add_edges_from([(1, 2), (2, 3), (3, 4), (4, 5), (1, 5)])

# Hide nodes 2 and 3
H = nx.restricted_view(G, [2, 3], [])

# Draw the original graph
plt.figure(figsize=(8, 4))
plt.subplot(121)
nx.draw(G, with_labels=True, font_weight='bold')
plt.title('Original Graph')

# Draw the graph after hiding nodes
plt.subplot(122)
nx.draw(H, with_labels=True, font_weight='bold')
plt.title('Graph after Hiding Nodes 2 and 3')

plt.show()
<|EOT|>
