# nodeBadgeWidth

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

@shumoku/core · 0.4.2 · function

# nodeBadgeWidth

[ソース](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/libs/@shumoku/core/src/models/diagram-presentation.ts#L17)

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

```
nodeBadgeWidth(badge: string): number
```

## パラメーター

| 名前 | 型 | 説明 | 既定値 |
| --- | --- | --- | --- |
| `badge` | `string` | 追加説明はありません。 | `—` |

## 戻り値

```
number
```

[`libs/@shumoku/core/src/libs/@shumoku/core/src/models/diagram-presentation.ts:17`](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/libs/@shumoku/core/src/models/diagram-presentation.ts#L17)
