Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

graph::reader::xml(3pm) [debian man page]

Graph::Reader::XML(3pm) 				User Contributed Perl Documentation				   Graph::Reader::XML(3pm)

NAME
Graph::Reader::XML - class for reading a Graph instance from XML SYNOPSIS
use Graph::Reader::XML; use Graph; $reader = Graph::Reader::XML->new(); $graph = $reader->read_graph('mygraph.xml'); DESCRIPTION
Graph::Reader::XML is a perl class used to read a directed graph stored as XML, and return an instance of the Graph class. The XML format is designed to support the Graph classes: it can be used to represent a single graph with a collection of nodes, and edges between those nodes. The graph, nodes, and edges can all have attributes specified, Graph::Reader::XML is a subclass of Graph::Reader, which defines the generic interface for Graph reader classes. METHODS
new() Constructor - generate a new reader instance. $reader = Graph::Reader::XML->new(); This doesn't take any arguments. read_graph() Read a graph from a file: $graph = $reader->read_graph( $file ); The $file argument can be either a filename or a filehandle of a previously opened file. KNOWN BUGS
Attribute values must be scalar. If they're not, well, you're on your own. SEE ALSO
Graph::Reader The base class for Graph::Reader::XML. Graph::Writer::XML Used to serialise a Graph instance as XML. Graph Jarkko Hietaniemi's classes for representing directed graphs. AUTHOR
Neil Bowers <neil@bowers.com> COPYRIGHT
Copyright (c) 2001-2012, Neil Bowers. All rights reserved. Copyright (c) 2001, Canon Research Centre Europe. All rights reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-02-14 Graph::Reader::XML(3pm)

Check Out this Related Man Page

Graph::Writer::daVinci(3pm)				User Contributed Perl Documentation			       Graph::Writer::daVinci(3pm)

NAME
Graph::Writer::daVinci - write out directed graph in daVinci format SYNOPSIS
use Graph; use Graph::Writer::daVinci; $graph = Graph->new(); # add edges and nodes to the graph $writer = Graph::Writer::daVinci->new(); $writer->write_graph($graph, 'mygraph.davinci'); DESCRIPTION
Graph::Writer::daVinci is a class for writing out a directed graph in the file format used by the daVinci tool. The graph must be an instance of the Graph class, which is actually a set of classes developed by Jarkko Hietaniemi. METHODS
new() Constructor - generate a new writer instance. $writer = Graph::Writer::daVinci->new(); This doesn't take any arguments. write_graph() Write a specific graph to a named file: $writer->write_graph($graph, $file); The $file argument can either be a filename, or a filehandle for a previously opened file. SEE ALSO
http://www.b-novative.de/ The home page for the daVinci. Graph Jarkko Hietaniemi's modules for representing directed graphs, available from CPAN under modules/by-module/Graph/ Algorithms in Perl The O'Reilly book which has a chapter on directed graphs, which is based around Jarkko's modules. Graph::Writer The base-class for Graph::Writer::daVinci AUTHOR
Neil Bowers <neil@bowers.com> COPYRIGHT
Copyright (c) 2001-2012, Neil Bowers. All rights reserved. Copyright (c) 2001, Canon Research Centre Europe. All rights reserved. This script is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-02-14 Graph::Writer::daVinci(3pm)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX Desktop Questions & Answers

NewsGroup Reader . . . Need Advice

I recently installed Suse 8.0 and am in need of a dependable news group reader. I need something that will authenticate just like Outlook Express does, because I will connecting to an Exchange News Host. Does anyone have any suggestions as to what I should donwload for a Microsoft compatible news... (2 Replies)
Discussion started by: pc9456
2 Replies

2. Solaris

Secure Card Reader

I see on some of the recent Sun workstations that there is a secure card reader installed. I have a Sunblade 100 and 150 and would like to know, how do you access this device or turn it on to use it? Thanks, (2 Replies)
Discussion started by: stocksj
2 Replies

3. UNIX for Advanced & Expert Users

absolute path for Acrobat reader

I would like to get the path of acrobat reader for any unix pc. right now the path of acrobat reader is hardcoded BEGIN if :global.system = 'HP-UX' then HOST('/opt/Acrobat4/bin/acroread /export/USERGUIDE.pdf'); else v_path :=... (3 Replies)
Discussion started by: ramirezmc
3 Replies

4. Shell Programming and Scripting

XML file using Perl

Hi All, Does anyone know how to generate an XML file using perl scripting? Thanks in advance. Regards, P AGARWAL (3 Replies)
Discussion started by: agarwal
3 Replies

5. Linux

Adobe Reader in RHEL4

Hi, Anyone knows if RHEL4 is packaged with Adobe Acrobat Reader? I need Adobe Reader in linux to open PDF file. There's a download on adobe site but I think that requires some dollars to avail the software. May be if RHEL4 has Adobe Reader package with it, there is no need to spend dollars. ... (5 Replies)
Discussion started by: etcpasswd
5 Replies

6. Shell Programming and Scripting

Making Connection nodes for Graph

Hi Power User, I have this following data: file1 aa A aa B aa C bb X bb Y bb Z cc O cc P cc Q . . . . . .... (4 Replies)
Discussion started by: anjas
4 Replies

7. Shell Programming and Scripting

Making Large Connection nodes for Graph

Hi power user, Basically, this thread is a continuation of the previous one :): https://www.unix.com/shell-programming-scripting/110650-making-connection-nodes-graph.html#post302326483 However, I'm going to explain it again. I have this following data: file1 aa A ... (3 Replies)
Discussion started by: anjas
3 Replies

8. AIX

Description Graph excel NMON

Bonjour, Après avoir découvert Nmon puis la macro excel, je souhaite comprendre la description de graphe _________________ SYS_SUMM CPU% ??? IO/sec ??? _________________ CPU_ALL User% ??? Sys% ??? Wait% ??? _________________ DISK_SUMM Disk Read KB/s = Lecture disk en kilo bytes... (6 Replies)
Discussion started by: stephane99
6 Replies

9. 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

10. Shell Programming and Scripting

SED question

I have the following string: "File Reader" I also have a list of directories: "File Reader (#53)" "CSV Writer (#47)" "Scorer (#22)" I want to search the name of each directory until I find "File Reader". Then, I want the corresponding number to be returned. For example, if I am... (7 Replies)
Discussion started by: xan.amini
7 Replies

11. Shell Programming and Scripting

Automatic generate 3D pie Graph

Hello all, I need the scripts automatic generate 3D pie Graph. What I have now is as below: Run at terminal by $ CMD R BATCH graph.R # 3D Exploded Pie Chart library(plotrix) slices <- c(20, 15, 4, 15, 8) lbls <- c("Media", "Document", "DB", "Others", "Available") pct <-... (5 Replies)
Discussion started by: sheikh76
5 Replies

12. Programming

Multithreading in reading file

Dear all, I am having a huge XML file, as below structure <EMPLOYEE> <RECORD id =aaa> <Salary>99999</Salary> <section>ssss</section> </RECORD> <RECORD id =bbb> <Salary>77777</Salary> <section>ssss</section> </RECORD> </EMPLOYEE> This is a 50 GB file I want to read this file in... (9 Replies)
Discussion started by: arunkumar_mca
9 Replies

13. What is on Your Mind?

Do you read books with an ebook reader?

I bought a Sony PRS-650 Reader to read books and I'm loving it. For one thing, there are zillions of free books in epub format available for download for free. Many of them are out of print, so you would have to pay a high price to get a printed copy. Most current releases have to be paid for,... (15 Replies)
Discussion started by: KenJackson
15 Replies

14. Shell Programming and Scripting

Insert values

HI Guys, I have a data in a file in the below format 45783 23457 23556 54584 Now i want to convert this data into the below format reader='45783' or reader='23457' or reader='23556' or reader='54584' Please help how to convert as i am applying loop but not able to get the data... (6 Replies)
Discussion started by: jaituteja
6 Replies

15. Emergency UNIX and Linux Support

Getting VALUE from Big XML File -- That's All

We got data that was supposed to be CSV, but was sent in a huge XML file. I've downloaded xmlstarlet, but I'm darned if I can get it to operate the "sel" feature to look down a path and get any sort of value. I see pieces of what should be paths, but they seem to have extraneous characters, and... (7 Replies)
Discussion started by: gmark99
7 Replies