This example shows how to read and write XIIDM files. A network is read from an XIIDM file whose the name is pass through the command line and exported to another file.
$> ./example1 <input-file> <output-file>
To build this example, you have to build the project passing the -DBUILD_EXAMPLES=ON
flag to the configure command. Follow the build instructions