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 (
Color
| dict[int,Color
], optional) – The color of the nodes. The default color isNetworkArtist.default_nodecolor
.edgecolor (
Color
| dict[tuple[int, int],Color
], optional) – The color of the edges. The default color isNetworkArtist.default_edgecolor
.
- Returns
list[System.Guid] – The GUIDs of the created Rhino objects.