# getBandwidthWidth

Canonical: https://docs.shumoku.dev/ja/library/api/getBandwidthWidth
Language: ja

@shumoku/core · 0.4.0 · function

# getBandwidthWidth

[ソース](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/layout/link-utils.ts#L182)

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

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

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

## パラメーター

| 名前 | 型 | 説明 | 既定値 |
| --- | --- | --- | --- |
| `bw` | `LinkBandwidth | null | undefined` | 追加説明はありません。 | `—` |

## 戻り値

```
number
```

[`libs/@shumoku/core/src/layout/link-utils.ts:182`](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/layout/link-utils.ts#L182)
