Draw edge labels.
Parameters : | G : graph
pos : dictionary, optional
ax : Matplotlib Axes object, optional
alpha : float
edge_labels : dictionary
label_pos : float
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