<｜begin▁of▁sentence｜>### Instruction:
Given a cycle graph with 5 nodes, how can you visualize only the nodes of the graph using Matplotlib and NetworkX, with each node being red, having a size of 700 and 50% transparency?
### Response:
import matplotlib.pyplot as plt
import networkx as nx

# Create a graph
G = nx.cycle_graph(5)

# Compute the positions for each node
pos = nx.spring_layout(G)

# Draw the graph nodes
plt.figure()
nx.draw_networkx_nodes(G, pos, node_size=700, node_color='r', alpha=0.5)
plt.axis('off')
plt.show()
<|EOT|>
