NetworkArtist.draw

NetworkArtist.draw(nodes=None, edges=None, nodecolor=None, edgecolor=None)[source]

Draw the network using the chosen visualisation settings.

Parameters
  • nodes (list, optional) – A list of nodes to draw. Default is None, in which case all nodes are drawn.

  • edges (list, optional) – A list of edges to draw. The default is None, in which case all edges are drawn.

  • nodecolor (tuple or dict of tuple, optional) – The color specification for the nodes. The default color is the value of ~NetworkArtist.default_nodecolor.

  • edgecolor (tuple or dict of tuple, optional) – The color specification for the edges. The default color is the value of ~NetworkArtist.default_edgecolor.

Returns

list – The GUIDs of the created Rhino objects.