NetworkArtist.draw_edgelabels

NetworkArtist.draw_edgelabels(text=None, color=None)[source]

Draw labels for a selection of edges.

Parameters
  • text (dict[tuple[hashable, hashable], str], optional) – A dictionary of edge labels as edge-text pairs. The default value is None, in which case every edge will be labeled with its key.

  • color (rgb-tuple or dict[tuple[hashable, hashable], rgb-tuple], optional) – The color specification of the labels. The default color is the same as the default color for edges.

Returns

list[bpy.types.Object]