add_control_edge
Function Usage
Adds a control edge.
Prototype
1 | add_control_edge(src_node: Node, dst_node: Node) -> None |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
src_node |
Input |
Source node of an edge. |
dst_node |
Input |
Target node of an edge. |
Returns
None
Restrictions
- If the parameter type is incorrect, TypeError is thrown.
- If the addition fails, RuntimeError is thrown.
Parent topic: Graph