diff -ur GraphViz-2.04~/lib/GraphViz.pm GraphViz-2.04/lib/GraphViz.pm
--- GraphViz-2.04~/lib/GraphViz.pm 2008-12-12 21:31:42.000000000 +0000
+++ GraphViz-2.04/lib/GraphViz.pm 2009-12-09 14:55:33.000000000 +0000
@@ -910,6 +913,15 @@
print $g->as_cmapx;
+=item as_cmapx_np
+
+Returns a string which contains a layed-out HTML HTML/X client-side
+image map format file that relys solely on rectangles as active
+areas. Name and id attributes of map element are set to name of the
+graph.
+
+ print $g->as_cmapx;
+
=item as_ismap (deprecated)
Returns a string which contains a layed-out old-style server-side
@@ -924,6 +936,13 @@
print $g->as_imap;
+=item as_imap_np
+
+Returns a string which contains a layed-out HTML new-style server-side
+image map format file that relys solely on rectangles as active areas.
+
+ print $g->as_imap;
+
=item as_vrml
Returns a string which contains a layed-out VRML-format file.
@@ -962,6 +981,66 @@
print $g->as_svgz;
+=item as_bmp
+
+Returns a string which contains a Windows Bitmap.
+
+ print $g->as_bmp;
+
+=item as_dia
+
+Returns a string which contains a Dia diagram.
+
+ print $g->as_dia;
+
+=item as_eps
+
+Returns a string which contains Encapsulated PostScript.
+
+ print $g->as_eps;
+
+=item as_pdf
+
+Returns a string in the Portable Document Format.
+
+ print $g->as_pdf;
+
+=item as_tga
+
+Returns a string which contains a Truevision TGA image.
+
+ print $g->as_tga;
+
+=item as_tiff
+
+Returns a string in the Tagged Image File Format.
+
+ print $g->as_tiff;
+
+=item as_tk
+
+Returns a string which contains a Tcl/Tk program.
+
+ print $g->as_tk;
+
+=item as_vdx
+
+Returns a string which contains a Visio XML drawing.
+
+ print $g->as_vdx;
+
+=item as_vml
+
+Returns a string which contains Vector Markup Language.
+
+ print $g->as_vml;
+
+=item as_vmlz
+
+Returns a string which contains compressed Vector Markup Language.
+
+ print $g->as_vmlz;
+
=item as_plain
Returns a string which contains a layed-out simple-format file.
@@ -990,7 +1069,7 @@
}
if ( $name
- =~ /^as_(ps|hpgl|pcl|mif|pic|gd|gd2|gif|jpeg|png|wbmp|cmapx?|ismap|imap|vrml|vtx|mp|fig|svgz?|dot|canon|plain)$/
+ =~ /^as_(bmp|canon|cmap|cmapx|cmapx_np|dot|dia|eps|fig|gd|gd2|gif|hpgl|imap|imap_np|ismap|jpeg|mif|mp|pcl|pdf|pic|plain|png|ps|svg|svgz|tga|tiff|tk|vdx|vml|vmlz|vrml|vtx|wbmp)$/
)
{
my $data = $self->_as_generic( '-T' . $1, $self->_as_debug, $output );