NetworkArtist.draw_edgelabels

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

Draw labels for a selection of edges.

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

  • color (tuple[int, int, int] or dict[tuple[int, int], tuple[int, int, int]], optional) – Color of the labels. The default color is the same as the default color of the edges.

Returns

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