VSDX: the new Visio file format

Drawing, Stencil and Template file formatsVisio 2003, 2007 and 2010 all had the same primary Visio Drawing (VSD) file format. For most users, this was great: files could be shared easily between these three versions of Visio.

There were, however, some drawbacks. Most notably, the primary format was binary, which limited both the information stored in the file and how easily IT professionals and developers could work with it. For example, it was difficult for third parties to access and extract data from the binary format for use outside of Visio.

For the new Visio, we introduced an XML-based file format to provide new capabilities in Visio and improve interoperability with other applications. 

File format overview

The new file format allows us to provide a number of new features, such as co-authoring and the ability to view your diagrams natively in the browser using Visio Services in the new Microsoft SharePoint and Microsoft SharePoint Online in Microsoft Office 365. 

It also gives us a chance to create a single unified file format that replaces the secondary file formats that Visio has created over the years. In Visio 2010, we introduced two formats: the Visio Web Drawing (VDW) and Visio Workflow Interchange (VWI) formats. In addition, we also supported a Visio XML Drawing format (VDX) so developers could modify the contents of a file outside Visio. The new format encompasses the benefits and capabilities provided by all three of these formats.

In addition, the new format gives us the ability to address many of the requests being made by our IT professional and developer community.

  • File size: The new format is compressed and can produce substantially smaller file sizes--up to 75 percent smaller than comparable binary documents. This reduces the disk space required to store files and the bandwidth required to transport files through e-mail, over networks, and across the Web.
  • Security: XML-based formats are more secure and transparent, because they store data in a standard structure that makes it easier for applications to detect security issues. We also use a separate file extension for files with executable macro code, so you can be sure that macro-free files do not contain harmful code.
  • Data recovery: The new format improves data recovery by segmenting and separately storing different components within the file. Although rare, network or storage failures can cause document corruption and the new file format makes it easier to recover your data in these cases.
  • Interoperability: It is now much easier to work with the default file format outside of Visio: you can now enable any application that supports XML to access, extract, and repurpose the data using familiar development tools.

Drawings, templates and stencils

Visio has three principal types of files: drawings, templates, and stencils. These file types are still available in the new format, with one difference: like the other Office applications, we now offer macro-free and macro-enabled formats. The new extensions for each file type are listed in the table below.

 

Macro-free

Macro-enabled

Drawing

VSDX

VSDM

Template

VSTX

VSTM

Stencil

VSSX

VSSM

Compatibility with previous Visio versions

For people who have used previous versions of Visio, we know that you have existing diagrams that you’ll want to be able to use in the new Visio. You may also want to share your new Visio files with others who are still using previous versions of Visio. There are several options for ensuring file compatibility.

Compatibility mode

When you open one of your existing Visio 2003-2010 drawings in the new Visio, your file will be in Compatibility Mode (indicated by “[Compatibility Mode]” following the file name at the top of the application window). Compatibility Mode means that some new commands and capabilities, such as new themes, variants, and styles, as well as co-authoring, will be disabled.

Compatibility mode

When you are in Compatibility Mode, you can make changes to your VSD drawings freely without having to worry about adding features or functionality that will not be supported when the file is opened in a previous version of Visio. Features only supported in the new Visio are disabled until you convert to the new file format.

Converting to the new format

To convert your Visio 2003-2010 drawing to the new file format, simply go to the File menu and, on the Info tab, click the Convert button. Once your file is in the new format, you will be able to work with all the new Visio features, including new themes, variants, and styles and co-authoring.

Convert diagram

Compatibility checker

You can also save new drawings back to the Visio 2003-2010 drawing format. When you save your file in the VSD file format, the new Visio presents a list of features that will be down-converted. This gives you the option to continue with the save or cancel (if you don’t want to lose those features). Once your file is saved to the earlier format, your view of the file in the new Visio will be the same as what users will see in previous versions of Visio.

Compatibility Checker

What is a VSDX file?

Office 2007 introduced new XML-based file formats for Microsoft Office Excel 2007, Office Word 2007, and Office PowerPoint 2007. Their file formats were the combination of a ZIP archive package and mainly XML content. Given the success of these formats, we decided to move in the same direction.

Microsoft Office file formats

You can think of the new VSDX format as being composed of two concepts: a ZIP archive package and XML content. First, we used the same ZIP archive package as used in Excel, Word, and PowerPoint. Formally, this package is defined by the Open Packaging Conventions (ISO/IEC 29500-2:2008) standard. Second, we based the XML content on our existing Visio XML Drawing (VDX) format.

Visio file format

For those familiar with the VDX format, we did make some changes and these are explained here. Also, note that some components like images, macros, and specific embedded objects are still stored as binary.

Since the new file format package is a ZIP archive, you can change the file extension to ZIP and peek inside. You will find many smaller components, or parts, that define different pieces of the file. For example, each page has its own part, and each master shape has its own part. This makes it easier to modify separate components of the file outside of Visio and also reduces the risk that a corrupt component will corrupt the entire file.

The following diagram (built with the new Organization Chart shapes) shows how a very basic diagram with one page and one master is stored hierarchically in the ZIP archive.

Structure of a Visio file

More details about the file format structure can be found in our Introduction to the Visio 2013 file format (.vsdx) article for developers.

Our Visio MVPs on the file format

Visio has a number of MVPs who share their passion, technical expertise, and real-world knowledge of Visio with others. They are already talking and sharing their knowledge about the new file format:

Resources for developers

We’re working hard to put together reference material for developers who want to work with the new Visio file format outside of Visio. Here are two references already posted:

Summary

The new file format is beneficial to both everyday users and developers. Not only does it support a range of new Visio features, but it decreases file sizes, reduces security concerns, makes data recovery easier and provides great interoperability with other applications. We've already heard from developers that they are excited about the new file format, since it enables a wide range of new Visio integration scenarios.

Whether you are transitioning well to the new file format or running into issues, we would love to hear your stories. Feel free to leave comments, discuss the new Visio on our forums (Visio Answers forum and Visio MSDN forum) or send us feedback using Send a Smile or Send a Frown.

Thanks for reading!

Office Blogs Comments

Comments: (17) Collapse

  • Is there going to be a "Compatibility Pack" for Visio 2003, 2007, 2010 to read VSDX?

  • Posted by Jennifer Cherwinka 9 月 18 日 新しい Visio には、今風のアプリ外観、新しいテーマ、プロ級の図を作成する際に使用する図形、複数の作成者やレビュー担当者と共同作業を行う手段など

  • Our new Visio blog is filled with tons of articles that can help you make the most of everything Visio

  • Visualizing processes is at the heart of Visio’s DNA and in Visio 2010 we took a big step forward in that area by including support for SharePoint workflows. This lets users create a workflow in Visio, import it into SharePoint Designer, and make

  • 英文原文已於 2012 年 10 月 27 日星期六發佈 現在您應已聽聞 Visio 2013 引進 XML 檔案格式 VSDX,以提供新的 Visio 功能 (例如 共同撰寫 (可能為英文網頁

  • Veröffentlichung des Originalartikels: 27.10.2012 Inzwischen haben Sie vielleicht schon von dem

  • Article d’origine publié le samedi 27 octobre 2012 Vous devez savoir maintenant que l’une

  • Articolo originale pubblicato sabato 27 ottobre 2012 Ormai è probabile che abbiate sentito

  • 최초 문서 게시일: 2012년 10월 27일 토요일 공동 작성(영문일 수 있음) 과 같은 새로운 기능을 Visio에 제공하고 다른 응용 프로그램과의 호환성을 향상시키기 위해 VSDX라는

  • Исходная статья опубликована в субботу, 27 октября 2012 г. Возможно, вы уже слышали, что в Visio 2013

  • 原文发布于 2012 年 10 月 27 日(星期六) 您可能现已获悉 Visio 2013 中引入了一种基于 XML 的文件格式(即 VSDX),旨在提供新的 Visio 功能(如 共同创作(该链接可能指向英文页面

  • 英文原文已於 2012 年 10 月 27 日星期六發佈 現在您應已聽聞 Visio 2013 引進 XML 檔案格式 VSDX,以提供新的 Visio 功能 (例如 共同撰寫 (可能為英文網頁

  • Artigo original publicado no sábado, 27 de outubro de 2012 Você pode ter ouvido falar

  • Artigo original publicado no sábado, 27 de outubro de 2012 Você pode ter ouvido falar

  • Средство просмотра Microsoft Visio можно загрузить бесплатно , что позволяет абсолютно каждому просматривать схемы Visio, даже если Visio не установлен на компьютер. Если все же у вас есть Visio, вы тоже можете получить преимущества от средства просмотра

1 2  Next >
Comments

Comments: (loading) Collapse