NAME

Net::GraphSpace::Edge

VERSION

version 0.0009

SYNOPSIS

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',
);

DESCRIPTION

Represents an edge in a GraphSpace graph. Note that a source and target node are required, even if your edges are undirected.

ATTRIBUTES

Required:

id

A string id unique amonge all edges.

source

The id of the source node.

target

The id of the target node.

Optional:

label

The node label.

Stuff that goes in the popup window. Currently, this can contain some html.

color

The node color in hex format, e.g., '#F00'.

width

The width size as a floating point value.

graph_id

The integer id of the related graph.

labelFontWeight

Can be set to 'normal' or 'bold'.

SEE ALSO

http://cytoscapeweb.cytoscape.org/documentation

AUTHOR

Naveed Massjouni <naveedm9@gmail.com>

COPYRIGHT AND LICENSE

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.