Query: graph::reader::xml
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Graph::Reader::XML(3pm) User Contributed Perl Documentation Graph::Reader::XML(3pm)NAMEGraph::Reader::XML - class for reading a Graph instance from XMLSYNOPSISuse Graph::Reader::XML; use Graph; $reader = Graph::Reader::XML->new(); $graph = $reader->read_graph('mygraph.xml');DESCRIPTIONGraph::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.METHODSnew() 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 BUGSAttribute values must be scalar. If they're not, well, you're on your own.SEE ALSOGraph::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.AUTHORNeil Bowers <neil@bowers.com>COPYRIGHTCopyright (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)
Related Man Pages |
---|
graph::reader::dot(3pm) - debian |
graph::easy::layout::grid(3pm) - debian |
graph::reader(3pm) - debian |
graph::transitiveclosure(3pm) - debian |
graph::writer::davinci(3pm) - debian |
Similar Topics in the Unix Linux Community |
---|
NewsGroup Reader . . . Need Advice |
absolute path for Acrobat reader |
Adobe Reader in RHEL4 |
Automatic generate 3D pie Graph |
Insert values |