Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

graph::writer::graphviz(3pm) [debian man page]

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)
Man Page

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

I'm sure this is inposible!!

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)
Discussion started by: HrnjicaMujo
1 Replies

2. UNIX for Dummies Questions & Answers

Share CD-Writer

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)
Discussion started by: Sergiu-IT
2 Replies

3. UNIX for Dummies Questions & Answers

Knoppix

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)
Discussion started by: AnilAnand
2 Replies

4. Programming

Perl GD::Graph and outputting to a graphics file

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)
Discussion started by: JamesGoh
1 Replies

5. Shell Programming and Scripting

Graph generation

How can I generate graphs using perl in unix solaris environment? Please suggest. (2 Replies)
Discussion started by: wadhwa.pooja
2 Replies

6. Shell Programming and Scripting

Perl with Excel Graph

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)
Discussion started by: jimmy_y
1 Replies

7. Shell Programming and Scripting

FS Growth Graph

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)
Discussion started by: ryandegreat25
5 Replies

8. SuSE

GraphViz Help

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)
Discussion started by: cbo0485
4 Replies

9. Shell Programming and Scripting

Monitoring Graphs using GNUPLOT

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)
Discussion started by: ajayram_arya
5 Replies