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

NAME

SNA::Network::Filter::Guess - load and save networks from/to Guess .gdf files

SYNOPSIS

    use SNA::Network;

    my $net = SNA::Network->new();
    $net->load_from_gdf($filename);
    ...
    $net->save_to_gdf(filename => $filename, edge_fields => ['weight']);

DESCRIPTION

This enables import/export to the GUESS data format. See http://guess.wikispot.org/The_GUESS_.gdf_format for details about the format.

METHODS

The following methods are added to SNA::Network.

load_from_gdf

load a network from a passed filename. Nodes and edges are created with the fields specified in the file. They are accessible as hash entries of the objects.

save_to_gdf

Saves the current network to a GDF file. The named parameters are filename, and optionally array references in node_fields and edge_fields, that will write the corresponding hash entries of the objects into the file.

AUTHOR

Darko Obradovic, <dobradovic at gmx.de>

BUGS

Please report any bugs or feature requests to bug-sna-network-filter-pajek at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=SNA-Network. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc SNA::Network

You can also look for information at:

COPYRIGHT & LICENSE

Copyright 2009 Darko Obradovic, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.