Microsoft opens up Visio schemas - DatadiagramML
microsoft released documentation that allows corporate and third-party developers to take full advantage of the XML-based schemas, called DatadiagramML, in its Office Visio diagramming tool.
For more information check the following link
http://www.microsoft.com/office/xml/default.mspx