NetworkArtist.draw_nodes

abstract NetworkArtist.draw_nodes(nodes=None, color=None, text=None)[source]

Draw the nodes of the network.

Parameters
  • nodes (list, optional) – The nodes to include in the drawing. Default is all nodes.

  • color (tuple or dict, optional) – The color of the nodes, as either a single color to be applied to all nodes, or a color dict, mapping specific nodes to specific colors.

  • text (dict, optional) – The text labels for the nodes as a text dict, mapping specific nodes to specific text labels.