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.
Copyright 2004 by Kang-min Liu <email@example.com>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.