Instruções para Salvar no Draw.io

Aviso

Make sure you don’t modify any file that is in a diagrams folder, or ends in .drawio.svg in any program other than draw.io; otherwise you might risk breaking the metadata of the file, making it uneditable.

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.

There are a few methods to save a diagram with the embedded metadata, but using the export menu is preferred because it allows us to embed any images in the diagram; otherwise they might not render properly on the docs.

This method is applicable to both draw.io desktop and the web version at diagrams.net.

Para exportar, vá para Arquivo - Exportar como - SVG .... Certifique-se de que Incluir uma cópia do meu diagrama esteja habilitado para incorporar os metadados do diagrama e que Incorporar Imagens esteja habilitado para que os arquivos de imagem no diagrama sejam incorporados para serem renderizados nos documentos. Além disso, marque a opção Fundo Transparente para garantir que o fundo seja exibido corretamente.

O menu de exportação deve ser parecido com isto:

Imagem que descreve o menu de exportação

Em seguida, basta clicar em Exportar e selecionar onde você deseja salvar o arquivo.

Nota

Ao salvar, certifique-se de seguir o guia de estilo em Draw.io Files