'Return a list of `node_item`\'s (class:`NodeItem`) neighbor nodes.'

def neighbor_nodes(self, node_item):

    neighbors = list(map(attrgetter('sourceItem'), self.node_input_links(node_item)))
    neighbors.extend(map(attrgetter('sinkItem'), self.node_output_links(node_item)))
    return neighbors
