Graph Data Manager#

Module for the Graph-Data Manager class.

class _GraphDataManager(**kwargs)[source]#

Bases: _DataManagerInterface

Data manager for graph-based data. It handles inputs stored as Graph, Data, or lists / tuples of these types.

Initialization of the _GraphDataManager class.

Parameters:

kwargs (dict) – The keyword arguments for the graph data manager.

to_batch()[source]#

Create a batch from the current graph data manager.

Returns:

A new instance of _BatchManager with batched data.

Return type:

_BatchManager

static create_batch(items)[source]#

Create a batch from a list of _GraphDataManager items.

Parameters:

items (list[_GraphDataManager]) – A list of _GraphDataManager items to batch.

Returns:

A new instance of _BatchManager containing the batched data.

Return type:

_BatchManager