rustworkx.PyDAG.has_node#
- PyDAG.has_node(node, /)#
Return True if there is a node in the graph.
- Parameters:
node (int) – The node index to check
- Returns:
True if there is a node false if there is no node
- Return type:
bool
Return True if there is a node in the graph.
node (int) – The node index to check
True if there is a node false if there is no node
bool