Visio 2013 has (at last) brought us the Metro file format, otherwise known as Open Packaging Conventions (OPC) standard (ISO 29500, Part 2)! You can read about Open Packaging Conventions Fundamentals at http://msdn.microsoft.com/en-us/library/windows/desktop/dd742818(v=vs.85).aspx.
Visio file formats were unchanged for versions 2003, 2007 and 2010, except that Visio 2010 saw the addition of the *.vdw format, which is basically the *.vsd with a XAML overlay added. There were two choices of file formats – the Visio binary format or the verbose DataDiagramML Xml format.
Visio 2013 has done away with the binary file format, but has provided alternative extensions for those documents that contain macros.
So, the process for saving Visio 2013 files is different than before:
In the above example. I added the bVisual logo, just to see how the file would be stored in the new Visio 2013 package. You can view the innards of Metro file by changing the extension to zip, and then just opening it. I also added a simple macro to see how it would be stored
As you can see, the VBA project that contains the macros are in a file called vbaProject.bin, and the logo is a media file, called image1.png. Of course, the vbaProject file will not be present in any non-macro-enabled files.
It all looks quite enticing to open and manipulate using code!
If you want to find out more, then read about [MS-VSDX] at https://docs.microsoft.com/en-us/openspecs/sharepoint_protocols/ms-vsdx/50c23601-c943-4ff2-b4a1-02445f52daf0 .