Instruções para Salvar no Draw.io¶
Aviso
Certifique-se de não modificar nenhum arquivo que esteja na pasta diagrams, ou termine em .drawio.svg em qualquer programa que não seja o draw.io; caso contrário, você corre o risco de corromper os metadados do arquivo, tornando-o não editável.
Draw.io (also known as diagrams.net) are supported when saved as svg files, with embedded XML metadata for the draw.io source file (normally stored as .drawio).
This allows these images to both act as source files for the diagrams that can be edited in the future, and be rendered as normal svg files.
Existem alguns métodos para salvar um diagrama com os metadados incorporados, mas usar o menu de exportação é preferível porque nos permite incorporar qualquer imagem no diagrama; caso contrário, eles podem não renderizar corretamente nos documentos.
This method is applicable to both draw.io desktop and the web version at diagrams.net.
To export go to File - Export as - SVG.... Make sure Include a copy of my diagram is enabled to embed the diagram metadata, and that Embed Images is enabled so image files in the diagram are embedded so they render in the docs. Additionally, mark the Transparent Background option to make sure the background is displayed correctly.
O menu de exportação deve ser parecido com isto:

Then just click Export then select where you would like to save the file and save it.
Nota
When saving, make sure you follow the style-guide at Draw.io Files