remove_node

Applicable Products

All processors

Function Usage

Removes nodes from a graph.

Prototype

1
remove_node(node: Node) -> None

Parameters

Parameter

Input/Output

Description

node

Input

Node to be removed.

Returns

None

Restrictions

  • If node is not of the node type, TypeError is thrown.
  • If the removal fails, RuntimeError is thrown.