Shumoku Docs

Search documentation

Shared docs and current release

Loading search…

日本語

@shumoku/core · 0.4.0 · function

bpsToLinkWidth

Source

Map a raw bits/sec value to the calibrated stroke width.

bpsToLinkWidth(bps: number | undefined): number

Parameters

Parameter Type Description Default
bps number | undefined No additional description.

Returns

number

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