NAME

PNI::In - is a node input

SYNOPSIS

my $node = PNI::Node->new;
my $in = PNI::In->new( 
    id => 'in',
    node => $node, 
);

ATTRIBUTES

edge

my $edge = $in->edge;

Return the input slot's edge. Remember that a PNI::In can hold only one edge.

METHODS

by_id

use PNI::In;

my $in = PNI::In::by_id($in_id);

Given a slot id, returns a reference to the slot.

is_connected

$in->is_connected;