Draw node labels on the graph G.
Parameters : | G : graph
pos : dictionary, optional
ax : Matplotlib Axes object, optional
alpha: float :
labels: dictionary :
font_size: int :
font_color: string :
font_weight: string :
font_family: string :
|
---|
Examples
>>> G=nx.dodecahedral_graph()
>>> labels=nx.draw_networkx_labels(G,pos=nx.spring_layout(G))
Also see the NetworkX drawing examples at http://networkx.lanl.gov/gallery.html