NAME

PNI::Edge - is used to connect two slots

SYNOPSIS

# connects the output of a node to the input of another node
my $edge = PNI::Edge->new( source => $output, target => $input );

my $not_connected_edge = PNI::Edge->new;

METHODS

get_source

my $output = $edge->get_source;

get_target

my $input = $edge->get_target;

task

$edge->task

If edge is connected, pass data from target to source.