set_graph_attr_bool
Function Usage
Sets the bool attribute for a graph.
Prototype
1 | set_graph_attr_bool(attr_name: str, value: bool) -> None |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
attr_name |
Input |
Attribute name. |
value |
Input |
Boolean value. |
Returns
None
Constraints
- Throws TypeError if the parameter type is incorrect.
- If the setting fails, RuntimeError is thrown.
Parent topic: GraphBuilder