NetworkArtist
- class compas_ghpython.artists.NetworkArtist(*args, **kwargs)[source]
Bases:
compas_ghpython.artists.artist.GHArtist
,compas.artists.networkartist.NetworkArtist
Artist for drawing network data structures.
- Parameters
network (
compas.datastructures.Network
) – A COMPAS network.
Attributes
default_edgecolor
default_nodecolor
Inherited Attributes
AVAILABLE_CONTEXTS
CONTEXT
ITEM_ARTIST
default_edgewidth
default_nodesize
edge_color
edge_text
edge_width
edges
network
node_color
node_size
node_text
node_xyz
nodes
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.