pyboxbuilder.layout.PolygonGrid¶ class pyboxbuilder.layout.PolygonGrid(children: tuple[Group | PolygonGrid | str, ...], cols: int, sides: int = 6, apothem: float = 20.0, gap: float = 0.0)[source]¶ Bases: object A tessellated regular-polygon lattice (e.g., hexagonal honeycomb) of boxes. labels() → list[str][source]¶ Every box label in this subtree, in layout order.