Creates a connection between this node and the inputed node.
        
        :param      node | <XNode>
                    cls  | <subclass of XNodeConnection> || None
        
        :return     <XNodeConnection>

def connectTo( self, node, cls = None ):
        """
        Creates a connection between this node and the inputed node.
        
        :param      node | <XNode>
                    cls  | <subclass of XNodeConnection> || None
        
        :return     <XNodeConnection>
        """
        if ( not node ):
            return
        
        con = self.scene().addConnection(cls)
        con.setOutputNode(self)
        con.setInputNode(node)
        
        return con