rllm.data.NodeStorage¶
- class rllm.data.NodeStorage(initialdata: Dict[str, Any] | None = None, **kwargs)[source]¶
Bases:
BaseStorageA storage class for node attributes in a graph.
- Parameters:
initialdata (Optional[Dict[str, Any]]) – Initial data to populate the storage.
**kwargs – Additional keyword arguments to populate the storage.
- num_nodes¶
The number of nodes in the storage.
- Type:
int