<｜begin▁of▁sentence｜>### Instruction:
Given a NetworkX graph 'G' with nodes that have labels, how can one visualize the graph such that the vertex labels are displayed on the nodes?
### Response:
import networkx as nx
<|EOT|>
