relabel#

BinTreeNetworkX.relabel(node_id: int, new_label: str)#

Relabel a node of the tree.

Parameters#

node_idint

The id of the node to relabel.

new_labelstr

The new label of the node.