Import and export diagrams
Bring Mermaid, draw.io, Visio .vsdx and JSON into PlexiiDiagrams, and export as SVG, PNG, JPG, PDF, Mermaid, draw.io or JSON.
PlexiiDiagrams reads diagrams made in other tools, so you can carry on with work someone started elsewhere, and saves your diagrams in formats other tools and people can use.
Before you start
- Importing and exporting are on every plan.
- PlexiiDiagrams imports Mermaid, draw.io (.drawio and .xml), Visio (.vsdx) and PlexiiDiagrams JSON. It exports SVG, PNG, JPG, PDF, Mermaid (.mmd), draw.io (.drawio) and PlexiiDiagrams JSON.
Import into a diagram
Open a diagram, then choose File > Import and one of these:
| Choice | What it does |
|---|---|
| Mermaid… | Opens Import Mermaid, where you paste Mermaid text. See Start a diagram from a template or AI. |
| draw.io / diagrams.net file… | Choose one or more .drawio or .xml files. The first page goes on the page you are on if it is empty; every other page is added as a new page. |
| Visio (.vsdx)… | Choose a .vsdx file. Its shapes are added to the page you are on, beside what is there. |
| PlexiiDiagrams JSON… | Choose a PlexiiDiagrams JSON file. It replaces the whole diagram, every page. |
A draw.io file's layers come in as layers. Each extra draw.io layer keeps its name, and whether it is shown and locked. A layer that was hidden in draw.io stays hidden; switch it on in the Layers panel. See Pages, layers and themes.
The bottom bar says what was imported, and lists anything that could not be brought in. If you do not want the result, press ⌘ Z on a Mac or Ctrl Z on Windows.
Make a new diagram from a Visio file
- Open the Documents page. See The Documents page.
- In the row under the AI box, after the Or start blank choices, click Import Visio.
- In the Import Visio diagram window, choose the .vsdx file and open it.
A new diagram opens, named after the first page of the Visio drawing, or after the file when the page has no name. The file on your computer stays as it is.
What comes in from Visio
- The shapes, where they sat on the page and at their size, with their text.
- The connectors between shapes, as lines with arrows, with any text on them as their labels.
- Every page. The Visio pages are placed one below another on the canvas, in order.
Each shape comes in as the nearest PlexiiDiagrams shape, such as a decision, a start or end, a database or a process, and in blue. The Visio drawing's colours, fonts, line styles and pictures are not brought in. Use Layout and a theme to set it out. See Tidy lines and lay out a diagram.
Export a diagram
- Open the diagram and go to the page you want to export.
- Choose File > Export and a format.
| Choice | What you get |
|---|---|
| PNG image | A picture of the page, for documents, slides and chat. |
| SVG (vector) | A drawing of the page that stays sharp at any size. |
| JPG image | A smaller picture file, for email. |
| The page as a PDF, for sharing and printing. | |
| Selection as PNG | A picture of only the shapes you have selected. |
| Selection as SVG | A drawing of only the shapes you have selected. |
| Mermaid (.mmd) | The page as Mermaid text. |
| Copy as Mermaid | Copies the page as Mermaid text, ready to paste. The bottom bar says Mermaid copied to the clipboard. |
| draw.io (.drawio), all pages | Every page in draw.io format. |
| PlexiiDiagrams JSON | The whole diagram, every page, as a file you can import again. |
For PNG image, SVG (vector), JPG image, PDF and the two selection choices, a save window opens with the diagram's name filled in. Choose where to save and click Save. The bottom bar then shows Saved and where the file went.
Exports draw what the canvas shows: the same shapes, routes and arrowheads. Shapes on a hidden layer are left out. See Pages, layers and themes.
Common questions
Does a draw.io export open in diagrams.net? PlexiiDiagrams writes the draw.io format and reads its own draw.io exports back in. It has not been checked by opening the files in diagrams.net itself.
The export says icons may not render. The icon font could not be found while exporting, so icons in the diagram may be missing from the file. The rest of the diagram is exported.
Can I export every page as one PDF? PNG, SVG, JPG and PDF export the page you are on. To keep every page together, export to draw.io or PlexiiDiagrams JSON.
The import says no Visio pages were found, or that the file has no shapes. The file may be empty, or hold only pictures or text. Check that it opens in the app that made it and has shapes on a page.
The import says it could not read the Visio file. Check that the file is a .vsdx file. An older .vsd file needs saving as .vsdx first.
Importing a JSON file replaced my diagram. A PlexiiDiagrams JSON file is a whole diagram, so it replaces the one you have open. Press ⌘ Z on a Mac or Ctrl Z on Windows, or use File > Version history.
How do I put a diagram in a document or deck? Export it as a PNG or SVG and insert the picture. In a deck, choose Image in the toolbar. See Text, shapes, images and tables on slides.
Related tasks
Was this helpful?
Still need help? Contact support at connect@plexiidesk.com.