pyhgf.model.add_categorical_state# pyhgf.model.add_categorical_state(network: Network, n_nodes: int, node_parameters: Dict, additional_parameters: Dict) → Network[source]# Add categorical state node(s) to a network.