# nodeContentMetrics

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

@shumoku/core · 0.4.2 · function

# nodeContentMetrics

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

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

```
nodeContentMetrics(presentation: { assumed: boolean; badge: string; hidden: number; labels: string[]; rows: { label: string; value: string }[]; subtitle: string; title: string }, hasIcon: boolean): { footerHeight: number; headerHeight: number; height: number }
```

## パラメーター

| 名前 | 型 | 説明 | 既定値 |
| --- | --- | --- | --- |
| `presentation` | `{ assumed: boolean; badge: string; hidden: number; labels: string[]; rows: { label: string; value: string }[]; subtitle: string; title: string }` | 追加説明はありません。 | `—` |
| `hasIcon` | `boolean` | 追加説明はありません。 | `—` |

## 戻り値

```
{ footerHeight: number; headerHeight: number; height: number }
```

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