# toNetworkGraph

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

@shumoku/core · 0.4.2 · function

# toNetworkGraph

[ソース](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/libs/@shumoku/core/src/models/network-model-graph.ts#L76)

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

Builds the graph that layout and the renderers draw from the configuration and its layers. Sources are not read: Server merges them into the configuration first.

```
toNetworkGraph(model: NetworkModel): NetworkGraph
```

## パラメーター

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

## 戻り値

```
NetworkGraph
```

[`libs/@shumoku/core/src/libs/@shumoku/core/src/models/network-model-graph.ts:76`](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/libs/@shumoku/core/src/models/network-model-graph.ts#L76)
