# currentDrawing

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

@shumoku/core · 0.6.1 · function

# currentDrawing

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

A drawing layer an older store kept, as the drawing holds one today: the fields it no longer has (node shapes and styles, link styles, group colours and directions, coordinates) are dropped, and what is left empty goes. For reading stored drawings, which are not checked.

```
currentDrawing(stored: DrawingLayer | undefined): DrawingLayer | undefined
```

## Parameters

| Parameter | Type | Description | Default |
| --- | --- | --- | --- |
| `stored` | `DrawingLayer | undefined` | No additional description. | `—` |

## Returns

```
DrawingLayer | undefined
```

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