Create and plot a graph.

The plot
function automatically labels the graph nodes with their node indices (or with their node names, if available). Use text labels for some of the graph nodes instead.

Label node 3 and node 4 as 'A'
. Since the node labels do not change the underlying graph, G
, the labels can contain duplicate names (the official node names in G
must always be unique).
