NetworkArtist.draw_nodelabels

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

Draw labels for a selection nodes.

Parameters
  • text (dict, optional) – A dictionary of node labels as node-text pairs. The default value is None, in which case every node will be labelled with its key.

  • color (3-tuple or dict of 3-tuple, optional) – The color sepcification of the labels. The default color is the same as the default color of the nodes.

Returns

list – The GUIDs of the created Rhino objects.