Shumoku Docs

Search documentation

Shared docs and current release

Loading search…

日本語

@shumoku/core · 0.4.0 · function

getBandwidthWidth

Source

Map a bandwidth label/number to the calibrated stroke width.

getBandwidthWidth(bw: LinkBandwidth | null | undefined): number

Parameters

Parameter Type Description Default
bw LinkBandwidth | null | undefined No additional description.

Returns

number

libs/@shumoku/core/src/layout/link-utils.ts:182