The CDDX file format is the native file format used by Circuit Diagram. It stores the following information about a circuit:
- Layout - where components and wires are placed
- Connections - which components are connected to each other
- Embedded components - optionally embed components within the document
The document is made up of a ZIP-file conforming to the Open Packaging Convention (more details at http://en.wikipedia.org/wiki/Open_Packaging_Conventions).
CDDX files can be read using a ZIP library and an XML parser.
To understand how the document is structured, please download the latest source code and look for the classes CDDXReader and CDDXWriter to see how Circuit Diagram reads and writes this format.