# currentDrawing

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

@shumoku/core · 0.6.1 · function

# currentDrawing

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

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

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

## パラメーター

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

## 戻り値

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