Net::GraphSpace::Edge
version 0.0009
my $node = Net::GraphSpace::Edge->new( id => 'node1-node2', # Required source => 'node1', # Required target => 'node2', # Required label => 'edge label', popup => 'stuff that goes in the popup window', color => '#FF0000', width => 5.5, graph_id => 'graph22', labelFontWeight => 'bold', );
Represents an edge in a GraphSpace graph. Note that a source and target node are required, even if your edges are undirected.
Required:
A string id unique amonge all edges.
The id of the source node.
The id of the target node.
Optional:
The node label.
Stuff that goes in the popup window. Currently, this can contain some html.
The node color in hex format, e.g., '#F00'.
The width size as a floating point value.
The integer id of the related graph.
Can be set to 'normal' or 'bold'.
http://cytoscapeweb.cytoscape.org/documentation
Naveed Massjouni <naveedm9@gmail.com>
This software is copyright (c) 2011 by Naveed Massjouni.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Net::GraphSpace, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::GraphSpace
CPAN shell
perl -MCPAN -e shell install Net::GraphSpace
For more information on module installation, please visit the detailed CPAN module installation guide.