diff options
Diffstat (limited to 'doc/architecture/blueprints/cells/diagrams/index.md')
-rw-r--r-- | doc/architecture/blueprints/cells/diagrams/index.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/architecture/blueprints/cells/diagrams/index.md b/doc/architecture/blueprints/cells/diagrams/index.md index 14db888382e..6d5d54acdb9 100644 --- a/doc/architecture/blueprints/cells/diagrams/index.md +++ b/doc/architecture/blueprints/cells/diagrams/index.md @@ -24,12 +24,14 @@ To create a diagram from a file: 1. Copy existing file and rename it. Ensure that the extension is `.drawio.png` or `.drawio.svg`. 1. Edit the diagram. 1. Save the file. +1. Optimize images with `pngquant -f --ext .png *.drawio.png` to reduce their size by 2-3x. To create a diagram from scratch using [draw.io desktop](https://github.com/jgraph/drawio-desktop/releases): 1. In **File > New > Create new diagram**, select **Blank diagram**. 1. In **File > Save As**, select **Editable Bitmap .png**, and save with `.drawio.png` extension. -1. To improve image quality, in **File > Properties**, set **Zoom** to **400%**. +1. To improve image quality, in **File > Properties**, set **Zoom** to **200%**. 1. To save the file with the new zoom setting, select **File > Save**. +1. Optimize images with `pngquant -f --ext .png *.drawio.png` to reduce their size by 2-3x. DO NOT use the **File > Export** function. The diagram should be embedded into `.png` for easy editing. |