Feat/port name padding #31

Open
dstadelm wants to merge 5 commits from dstadelm/circuiteria:feat/port-name-padding into main
pull from: dstadelm/circuiteria:feat/port-name-padding
First-time contributor

Instead of fixed padding allow to change the padding of a port

Instead of fixed padding allow to change the padding of a port
dstadelm added 5 commits 2026-10-21 22:49:53 +00:00
CeTZ 0.5.2 requires 3D coordinate vectors (x, y, z) for raw
coordinate tuples passed to coordinate.resolve(). Update internal
wire computations (dodge, guided) to use 3-element tuples, fix
.last() to .at(1) for y-component access on resolved coordinates,
and add a normalize-coord utility that automatically pads user-
provided 2D points (x, y) to (x, y, 0) so users do not need to
specify the z dimension.
Groups now accept ports/ports-margins like blocks. Port name labels
default to outside the group border (outside-port-names: true) so they
don't overlap child elements; set to false for block-style inside
labels.
Replaces the hard-coded 2pt padding used when placing port name labels.
Configurable per element via port-name-padding on elmt (forwarded by
block and group), defaulting to 2pt to preserve existing layout.
You are not authorized to merge this pull request.
This pull request can be merged automatically.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u https://git.kb28.ch/dstadelm/circuiteria feat/port-name-padding:dstadelm-feat/port-name-padding
git checkout dstadelm-feat/port-name-padding
Sign in to join this conversation.