torchcell.graph.GeneMultiGraph

class GeneMultiGraph(*, graphs: SortedDict[str, GeneGraph])[source]

Bases: ModelStrictArbitrary

Collection of GeneGraph objects stored in a SortedDict.

items() → ItemsView[str, GeneGraph][source]

Get the (name, graph) pairs.

keys() → KeysView[str][source]

Get graph names.

values() → ValuesView[GeneGraph][source]

Get graph objects.

model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True, 'extra': 'forbid', 'frozen': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].