# deriveStructure

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

@shumoku/core · 0.4.2 · function

# deriveStructure

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

The structure a written network implies. A network is the \`config\` of a read model (\`readNetworkModel(yaml).config\`); the result refers to it by its written ids.

```
deriveStructure(network: Network, options?: DeriveOptions): Structure
```

## Parameters

| Parameter | Type | Description | Default |
| --- | --- | --- | --- |
| `network` | `Network` | No additional description. | `—` |
| `options` | `DeriveOptions` | No additional description. | `{}` |

## Returns

```
Structure
```

[`libs/@shumoku/core/src/libs/@shumoku/core/src/structure/index.ts:95`](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/libs/@shumoku/core/src/structure/index.ts#L95)
