Shumoku Docs

ドキュメントを検索

共通文書と現行公開版

検索を読み込み中…

English

@shumoku/core · 0.4.0 · function

bpsToLinkWidth

ソース

APIの説明は英語のcanonical sourceを表示しています。

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

bpsToLinkWidth(bps: number | undefined): number

パラメーター

名前 説明 既定値
bps number | undefined 追加説明はありません。

戻り値

number

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