Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/neilb/graph-readwrite
Release history of Graph-ReadWrite
https://github.com/neilb/graph-readwrite
Last synced: about 2 months ago
JSON representation
Release history of Graph-ReadWrite
- Host: GitHub
- URL: https://github.com/neilb/graph-readwrite
- Owner: neilb
- Created: 2012-02-12T19:29:36.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2016-08-05T20:24:28.000Z (over 8 years ago)
- Last Synced: 2024-10-11T21:08:43.627Z (2 months ago)
- Language: Perl
- Homepage: http://search.cpan.org/dist/Graph-ReadWrite/
- Size: 85.9 KB
- Stars: 4
- Watchers: 6
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README
- Changelog: Changes
Awesome Lists containing this project
README
Graph-ReadWrite
This is a collection of perl classes for reading and writing
directed graphs in a variety of file formats. The graphs are
represented in Perl using Jarkko Hietaniemi's Graph classes.
Version 2+ of this distribution works with version 0.5 and
later of the Graph distribution.There are two base classes:
Graph::Reader
Base class for classes which read a graph
file and create an instance of the Graph class.Graph::Writer
Base class for classes which take an instance of the
Graph class and write it out in a specific file format.This distribution also defines a simple XML format for storing
directed graphs, defined to meet the needs of the Graph class.
A reader and writer are provided for this:Graph::Reader::XML
Graph::Writer::XMLWriters are also included for Dot, VCG, and daVinci,
two packages for displaying / rendering graphs.
Dot and VCG are freely available; daVinci is freely available
at the moment, but that is going to change soon.Graph::Writer::Dot
Graph::Writer::VCG
Graph::Writer::daVinciA reader for Dot files has been contributed by Mark Hillebrand:
Graph::Reader::Dot
A reader and writer for HTK lattices are also included:
Graph::Reader::HTK
Graph::Writer::HTKThese last two will probably only be of interest to people working
with HTK, or tools which use the same format.Dependencies:
Graph Jarkko's Graph classes
XML::Parser used by Graph::Reader::XML
XML::Writer used by Graph::Writer::XML
IO::FileTo install these modules, you should just have to run the following:
% perl Makefile.PL
% make
% make test
% make installThis distribution contains an early version of a test-suite;
you may get a warning about an undefined value from one of the tests.Bugs, suggestions, and new readers and writers will be gratefully received.
Neil Bowers