Read Dia diagrams from Java