http://www.perlmonks.org?node_id=406419


in reply to Diagram to Text and Vice Versa (DAG, RTN)

Check out Dia ( http://www.gnome.org/projects/dia/ ). It's basically an opensource replacement for Visio. Dia data is saved as XML, so it should be possible to draw your diagram in Dia, then parse and modify it with standard Perl XML modules.