Dia2Code generate code from a Dia diagram