Graph.get_node_label#

Graph.get_node_label(node_index: int) str[source]#

Returns the label of the node at nodeIndex.

Parameters:

node_index (int) – 1 <= nodeIndex <= total number of nodes.

Returns:

the label of the node at nodeIndex.

Return type:

str