NetworkArtist
- class compas_ghpython.artists.NetworkArtist(*args, **kwargs)[source]
Bases:
compas_ghpython.artists.artist.GHArtist,compas.artists.networkartist.NetworkArtistArtist for drawing network data structures.
- Parameters
network (
compas.datastructures.Network) – A COMPAS network.
Attributes
default_edgecolordefault_nodecolorInherited Attributes
AVAILABLE_CONTEXTSCONTEXTITEM_ARTISTdefault_edgewidthdefault_nodesizeedge_coloredge_textedge_widthedgesnetworknode_colornode_sizenode_textnode_xyznodesMethods
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.