Export to dot format.