# drawNetwork

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

@shumoku/core · 0.4.2 · function

# drawNetwork

[ソース](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/libs/@shumoku/core/src/drawing/draw.ts#L68)

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

Draws a model as a scene: the one entry from what is written (and what the layers add) to where each box stands and how each line runs. The model is the truth; the scene is only its projection, made fresh each time.

```
drawNetwork(model: NetworkModel, options: DrawOptions): Scene
```

## パラメーター

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

## 戻り値

```
Scene
```

[`libs/@shumoku/core/src/libs/@shumoku/core/src/drawing/draw.ts:68`](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/libs/@shumoku/core/src/drawing/draw.ts#L68)
