nx.draw_networkx_nodes(G, pos, node_size=1200, node_shape='^', node_color=
    '0.75')
nx.draw_networkx_edges(G, pos, width=2, edge_color='r')
label nodes outside with minimum overlap with other nodes/edges in networkx