(v: float)
| 179 | pos = {placement[i]: slots[i] for i in range(len(placement))} |
| 180 | |
| 181 | def _f(v: float) -> str: # tidy number formatting |
| 182 | return f"{v:g}" |
| 183 | |
| 184 | # The box + pin stubs + node markers only. The block name (model label) and |
| 185 | # the pin names are drawn by ComponentItem so they stay upright under any |