NetworkArtist
- class compas_ghpython.artists.NetworkArtist(item, **kwargs)[source]
Bases:
GHArtist
,NetworkArtist
Artist for drawing network data structures.
- Parameters
network (
Network
) – A COMPAS network.**kwargs (dict, optional) – Additional keyword arguments. See
GHArtist
andNetworkArtist
for more info.
Methods
GH Artists are state-less.
GH Artists are state-less.
Draw the entire network with default color settings.
Draw a selection of edges.
Draw a selection of nodes.
Inherited Methods
Build an artist corresponding to the item type.
Build an artist with the given type.
Clear the nodes and the edges of the network.
Drawing method for drawing an entire collection of objects.
Redraw the view.
Register an artist type to a data type.