@shumoku/core · 0.4.2 · function
bpsToLinkWidth
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/libs/@shumoku/core/src/layout/link-utils.ts:110