FormNetwork.node_attribute
- FormNetwork.node_attribute(key, name, value=None)
 Get or set an attribute of a node.
- Parameters
 key (hashable) – The node identifier.
name (str) – The name of the attribute
value (obj, optional) – The value of the attribute.
- Returns
 object or None – The value of the attribute, or
Noneif the node does not exist or when the function is used as a “setter”.- Raises
 KeyError – If the node does not exist.