Draw edge labels.
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 :
bbox: Matplotlib bbox :
clip_on: bool :
|
---|
Examples
>>> G=nx.dodecahedral_graph()
>>> edge_labels=nx.draw_networkx_edge_labels(G,pos=nx.spring_layout(G))
Also see the NetworkX drawing examples at http://networkx.lanl.gov/gallery.html