TopologyDiagram.get_any_node

TopologyDiagram.get_any_node()[source]

Get the identifier of a random node.

Deprecated since version 1.13.3: Use node_sample() instead.

Returns:

hashable – The identifier of the node.