Shumoku Docs

Search documentation

Shared docs and current release

Loading search…

日本語

@shumoku/core · 0.4.0 · function

portLabelReach

Source

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