# nodeContentMetrics

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

@shumoku/core · 0.4.2 · function

# nodeContentMetrics

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

```
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 }
```

## Parameters

| Parameter | Type | Description | Default |
| --- | --- | --- | --- |
| `presentation` | `{ assumed: boolean; badge: string; hidden: number; labels: string[]; rows: { label: string; value: string }[]; subtitle: string; title: string }` | No additional description. | `—` |
| `hasIcon` | `boolean` | No additional description. | `—` |

## Returns

```
{ 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)
