NetworkArtist.draw
- NetworkArtist.draw(nodes=None, edges=None, nodecolor=None, edgecolor=None)[source]
Draw the network using the chosen visualisation settings.
- Parameters
nodes (list[int], optional) – A list of nodes to draw. Default is None, in which case all nodes are drawn.
edges (list[tuple[int, int]], optional) – A list of edges to draw. The default is None, in which case all edges are drawn.
nodecolor (tuple[int, int, int] or dict[int, tuple[int, int, int]], optional) – The color of the nodes. The default color is
NetworkArtist.default_nodecolor
.edgecolor (tuple[int, int, int] or dict[tuple[int, int], tuple[int, int, int]], optional) – The color of the edges. The default color is
NetworkArtist.default_edgecolor
.
- Returns
list[System.Guid] – The GUIDs of the created Rhino objects.