add_control_edge
Function Usage
Add 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
Constraints
- Throws TypeError if the parameter type is incorrect.
- If the add operation fails, RuntimeError is thrown.
Parent topic: Graph