Graph::Writer::GraphViz(3pm) User Contributed Perl Documentation Graph::Writer::GraphViz(3pm)NAME
Graph::Writer::GraphViz - GraphViz Writer for Graph object
SYNOPSIS
my @v = qw/Alice Bob Crude Dr/;
my $g = Graph->new(@v);
my $wr = Graph::Writer::GraphViz->new(-format => 'dot');
$wr->write_graph($g,'/tmp/graph.simple.dot');
my $wr_png = Graph::Writer::GraphViz->new(-format => 'png');
$wr_png->write_graph($g,'/tmp/graph.simple.png');
Graph::Writer::GraphViz->new(
-format => 'png',
-layout => 'twopi',
-ranksep => 1.5,
-fontsize => 8
-edge_color => 'grey',
-node_color => 'black',
)->write_graph($g,'/tmp/graph.png');
DESCRIPTION
Graph::Writer::GraphViz is a class for writing out a Graph object with GraphViz module. All GraphViz formats should be supported without a
problem.
METHODS
new()
Unlike other Graph::Writer modules, this module provide an extra parameter '-format' to new() method, in order to save different format.
Other supported GraphViz parameters are -layout, -ranksep, -shape, -fontsize, -arrowsize. Please see the SYNOPSIS for example usage.
Valid format depends on those GraphViz as_fmt methods on your system, like, 'gif' if you have 'as_gif', 'text' if you can do 'as_text'.
SEE ALSO
Graph, Graph::Writer, GraphViz
CREDITS
Thanks for RURBAN@cpan.org for noticing tests failure on different platforms.
COPYRIGHT
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>
perl v5.12.4 2011-10-16 Graph::Writer::GraphViz(3pm)
Check Out this Related Man Page
GraphViz::XML(3pm) User Contributed Perl Documentation GraphViz::XML(3pm)NAME
GraphViz::XML - Visualise XML as a tree
SYNOPSIS
use GraphViz::XML;
my $graph = GraphViz::XML->new($xml);
print $g->as_png;
DESCRIPTION
This module makes it easy to visualise XML as a tree. XML is hard for humans to grasp, especially if the XML is computer-generated. This
modules aims to visualise the XML as a graph in order to make the structure of the XML clear and to aid in understanding the XML.
XML elements are represented as diamond nodes, with links to elements within them. Character data is represented in round nodes.
Note that the XML::Twig module should be installed.
METHODS
new
This is the constructor. It takes one mandatory argument, which is the XML to be visualised. A GraphViz object is returned.
my $graph = GraphViz::XML->new($xml);
as_*
The XML can be visualised in a number of different graphical formats. Methods include as_ps, as_hpgl, as_pcl, as_mif, as_pic, as_gd,
as_gd2, as_gif, as_jpeg, as_png, as_wbmp, as_ismap, as_imap, as_vrml, as_vtx, as_mp, as_fig, as_svg. See the GraphViz documentation for
more information. The two most common methods are:
# Print out a PNG-format file
print $g->as_png;
# Print out a PostScript-format file
print $g->as_ps;
BUGS
GraphViz tends to reorder the nodes. I hope to find a work around soon (possibly with ports).
AUTHOR
Leon Brocard <acme@astray.com>
COPYRIGHT
Copyright (C) 2001, Leon Brocard
This module is free software; you can redistribute it or modify it under the same terms as Perl itself.
perl v5.14.2 2012-04-02 GraphViz::XML(3pm)
Here is response from HP-s support service:
"""
I understand that you need information, whether you can use your
CD-Writer on parallel port with HP-UX 11.00 Operating system and you need compatible
software for creating CDs.
HP does not support the HP CD-Writer parallel port on... (1 Reply)
Hi, guys !
I have a server that runs FreeBSD 5.3 and on that server a have a CD-Writer used for backup. The question is, does anybody know how can I share this CD-Writer ? I want to be able to write CDs from another computer, without transfering all the data to the server and after that use all... (2 Replies)
Hello All,
I have a Knoppix CD. I am able to boot Knoppix(Linux) from the CD.
How do I save a document that I created using OpenOffice(Writer) to either my harddrive on Windows or to a USB instead of the CD itself.
I am new to Knoppix and am not sure of the GUI. I tried mounting the USB... (2 Replies)
To successfully export a perl GD::Graph object to a graphics file (e.g. a .png file), do you do the following ?
# Set graph data
$graph->set(....);
$graph->plot(\@graph_data);
open(IMG,'>file.png') or die $!;
binmode IMG;
print IMG $graph->png;
close IMG;
Reason Im asking is... (1 Reply)
Hi Everyone,
Would like to know some hints where should I look for, if I want to do the perl with excel graph staff, i read some people say can use GD:Graph, would please give me some guide on where should I search for, which keyword should I put into google to search.
Thanks (1 Reply)
It's been a while since i've been here.. and hopefully you can help me.
I have created a script to get the filesystem utilization. Now i want to create a growth graph, which would show how much kb we increase per day.
Here's the data
03-02-2010 00:00:00: /dev/md/dsk/d30 46473377 7355320... (5 Replies)
I have a SLES 11(SP1) server that I am trying to install graphviz 2.28 on. Unfortunately that is not a comman combination, so I can't just use an RPM to install it, I have to build it from source. When doing so, when I configure it, I can't get it to recognize that pangocairo is actually... (4 Replies)
Need assistance in getting a monitoring script to create Grpahs Using GNUPLOT using below data.
Graph for CPU, MEMORY , NETWORK in png. For memory can we convert the GB TO MB
----system---- ----total-cpu-usage---- ------memory-usage----- -net/total-
time |usr sys idl wai hiq... (5 Replies)