NetworkArtist
- class compas_ghpython.artists.NetworkArtist(*args, **kwargs)[source]
Bases:
GHArtist
,NetworkArtist
Artist for drawing network data structures.
- Parameters
network (
compas.datastructures.Network
) – A COMPAS network.**kwargs (dict, optional) – Additional keyword arguments. See
compas_ghpython.artists.GHArtist
andcompas.artists.NetworkArtist
for more info.
Methods
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.
Clear the edges of the network.
Clear the nodes of the network.
Drawing method for drawing an entire collection of objects.
Redraw the view.
Register an artist type to a data type.