The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Graph::Writer::Sparse6 - write Graph.pm in sparse6 format

SYNOPSIS

 use Graph::Writer::Sparse6;
 my $writer = Graph::Writer::Sparse6->new;
 $writer->write_graph($graph, 'filename.txt');
 $writer->write_graph($graph, $filehandle);

 Graph::Writer::Sparse6->new->write_graph($graph,'filename.txt');

CLASS HIERARCHY

Graph::Writer::Sparse6 is a subclass of Graph::Writer.

    Graph::Writer
      Graph::Writer::Graph6
        Graph::Writer::Sparse6

Superclass Graph::Writer::Graph6 is reckoned an implementation detail and should not be relied on, only Graph::Writer.

DESCRIPTION

Graph::Writer::Sparse6 writes a Graph.pm graph to a file or file handle in sparse6 format. It is the same as

    my $writer = Graph::Writer::Graph6->new (format => 'sparse6');

See Graph::Writer::Graph6 for details.

SEE ALSO

Graph, Graph::Writer, Graph::Writer::Graph6

Graph::Graph6, nauty-showg(1), nauty-copyg(1)

HOME PAGE

http://user42.tuxfamily.org/graph-graph6/index.html

LICENSE

Copyright 2015, 2016, 2017, 2018 Kevin Ryde

Graph-Graph6 is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.

Graph-Graph6 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with Graph-Graph6. If not, see http://www.gnu.org/licenses/.