# drawNetwork

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

@shumoku/core · 0.4.2 · function

# drawNetwork

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

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

## Parameters

| Parameter | Type | Description | Default |
| --- | --- | --- | --- |
| `model` | `NetworkModel` | No additional description. | `—` |
| `options` | `DrawOptions` | No additional description. | `—` |

## Returns

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