Automatically lays out all the selected nodes in the scene using the \
        autoLayoutNodes method.
        
        :param      padX | <int> || None | default is 2 * cell width
                    padY | <int> || None | default is 2 * cell height
                    direction | <Qt.Direction>
                    layout | <str> | name of the layout plugin to use
                    animate | <int> | number of seconds to animate over
        
        :return     {<XNode>: <QRectF>, ..} | new rects per node

def autoLayoutSelected( self, 
                             padX = None,
                             padY = None,
                             direction = Qt.Horizontal,
                             layout = 'Layered',
                             animate = 0,
                             centerOn = None,
                             center = None):
        """
        Automatically lays out all the selected nodes in the scene using the \
        autoLayoutNodes method.
        
        :param      padX | <int> || None | default is 2 * cell width
                    padY | <int> || None | default is 2 * cell height
                    direction | <Qt.Direction>
                    layout | <str> | name of the layout plugin to use
                    animate | <int> | number of seconds to animate over
        
        :return     {<XNode>: <QRectF>, ..} | new rects per node
        """
        nodes = self.selectedNodes()
        return self.autoLayoutNodes(nodes, 
                                    padX, 
                                    padY, 
                                    direction, 
                                    layout, 
                                    animate,
                                    centerOn,
                                    center)