NetworkArtist.draw_edgelabels
- NetworkArtist.draw_edgelabels(text: Optional[Dict[Tuple[int, int], str]] = None, color: Optional[Union[str, Tuple[int, int, int], Tuple[float, float, float], List[Union[Tuple[int, int, int], Tuple[float, float, float]]], Dict[int, Union[Tuple[int, int, int], Tuple[float, float, float]]]]] = None) List[bpy.types.Object] [source]
Draw labels for a selection of edges.
- Parameters
text (dict, 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 of rgb-tuple) – The color specification of the labels. The default color is the same as the default color for edges.
- Returns
list of
bpy.types.Object