var visio = new Diagram("template.vst");
visio.Save("output.vsx", SaveFileFormat.VSX);