torchcell.paper.ontology_svg.Card

class Card(*, name: str, lane: str, x: float = 0.0, y: float = 0.0, w: float = 258.0, h: float = 0.0, row_anchors: dict[str, float] = <factory>)[source]

Bases: BaseModel

A placed class box.

property cx: float

Card centre x.

property cy: float

Card centre y.

model_config: ClassVar[ConfigDict] = {}

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