Graph::Writer::DrGeo - Save the graph output DrGeo scheme script.
my $g = new Graph; # Add some vertices/edges to $g my $writer = Graph::Writer::DrGeo->new(); $writer->write_graph($g,"graph.scm"); # graph.scm can be evaluated and rendered with Dr.Geo
Dr. Geo is a GTK interactive geometry software. It allows one to create geometric figure plus the interactive manipulation of such figure in respect with their geometric constraints. It is useable in teaching situation with students from primary or secondary level.
Besides the general file format, Dr.Geo also provide a dynamic graph definition using the language of Scheme. This module save any Graph object into Scheme language, which can be evaluated and rendered in Dr.Geo.
So far the default layout is the circle layout, more kind of layout could be added, and patches welcome.
http://ofset.sourceforge.net/drgeo/, Graph::Writer
Copyright 2004 by Kang-min Liu <gugod@gugod.org>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See <http://www.perl.com/perl/misc/Artistic.html>
To install Graph::Writer::DrGeo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Graph::Writer::DrGeo
CPAN shell
perl -MCPAN -e shell install Graph::Writer::DrGeo
For more information on module installation, please visit the detailed CPAN module installation guide.