NetworkArtist

class compas_ghpython.artists.NetworkArtist(*args, **kwargs)[source]

Bases: GHArtist, NetworkArtist

Artist for drawing network data structures.

Parameters

Methods

draw

Draw the entire network with default color settings.

draw_edges

Draw a selection of edges.

draw_nodes

Draw a selection of nodes.

Inherited Methods

build

Build an artist corresponding to the item type.

build_as

Build an artist with the given type.

clear

Clear the nodes and the edges of the network.

clear_edges

Clear the edges of the network.

clear_nodes

Clear the nodes of the network.

draw_collection

Drawing method for drawing an entire collection of objects.

redraw

Redraw the view.

register

Register an artist type to a data type.