NetworkArtist.draw_nodelabels

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

Draw labels for a selection nodes.

Parameters
  • text (dict[int, str], 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 (tuple[int, int, int] or dict[int, tuple[int, int, int]], optional) – Color of the labels. The default color is the same as the default color of the nodes.

Returns

list[System.Guid] – The GUIDs of the created Rhino objects.