torchcell.paper.ontology_svg.Layout

class Layout(*, cards: dict[str, ~torchcell.paper.ontology_svg.Card] = <factory>, lanes: dict[str, ~torchcell.paper.ontology_svg.Lane] = <factory>, width: float = 0.0, height: float = 0.0)[source]

Bases: BaseModel

A fully placed diagram, ready to serialise.

model_config: ClassVar[ConfigDict] = {}

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