TopologyDiagram.is_node_origin

TopologyDiagram.is_node_origin(node)[source]

Checks if a node is an origin node.

Parameters:

node (int) – A node key.

Returns:

flag (bool) – True``if the node is a origin node. ``False otherwise.