# shouldUseComposite

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

@shumoku/core · 0.4.0 · function

# shouldUseComposite

[Source](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/layout/composite/index.ts#L133)

```
shouldUseComposite(graph: NetworkGraph): boolean
```

## Parameters

| Parameter | Type | Description | Default |
| --- | --- | --- | --- |
| `graph` | `NetworkGraph` | No additional description. | `—` |

## Returns

```
boolean
```

[`libs/@shumoku/core/src/layout/composite/index.ts:133`](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/layout/composite/index.ts#L133)
