<｜begin▁of▁sentence｜>### Instruction:
Given a scenario where 6 couples go to a party and each person shakes hands with every person except their partner, creating a set of unique handshakes, how would you represent this situation as a graph using NetworkX, and how would you visualize it?
### Response:
import networkx as nx

# Generate an octahedral graph
G = nx.octahedral_graph()

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