NetworkArtist.draw_nodelabels

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

Draw labels for a selection nodes.

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

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

Returns

list[bpy.types.Object]