set_label#

ToTNode.set_label(label)#

Set the label of this node.

Parameters#

labelobject

A label for this node. It can be of any type, but usually it is a string describing the node e.g. in a visualisation.