This function now expects bond graphs to be written using the
new dia 'MTT port' and 'MTT bond' objects.
Causal completion can be requested with command-line options.
A new .dia file is created with the requested causality changes.