# portLabelReach

Canonical: https://docs.shumoku.dev/en/library/api/portLabelReach
Language: en

@shumoku/core · 0.4.0 · function

# portLabelReach

[Source](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/layout/port-geometry.ts#L125)

Reach of a port's label measured from the node face outward, along the wire (vertical labels) — how much corridor the label needs between this row and the next. Horizontal labels reach PORT\_LABEL\_H.

```
portLabelReach(port: ResolvedPort): number
```

## Parameters

| Parameter | Type | Description | Default |
| --- | --- | --- | --- |
| `port` | `ResolvedPort` | No additional description. | `—` |

## Returns

```
number
```

[`libs/@shumoku/core/src/layout/port-geometry.ts:125`](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/layout/port-geometry.ts#L125)
