NetworkObject

class compas_ghpython.scene.NetworkObject[source]

Bases: GHSceneObject, NetworkObject

Scene object for drawing network data structures.

Parameters:
networkcompas.datastructures.Network

A COMPAS network.

**kwargsdict, optional

Additional keyword arguments.

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

add

Add a child item to the scene object.

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.