def autoLayout( self, 
                    padX = None, 
                    padY = None,
                    direction = Qt.Horizontal,
                    layout = 'Layered',
                    animate = 0,
                    centerOn = None,
                    center = None,
                    debug=False ):
        """
        Automatically lays out all the 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 affected node
        """
        return self.autoLayoutNodes(self.nodes(), 
                                    padX, 
                                    padY, 
                                    direction, 
                                    layout,
                                    animate,
                                    centerOn,
                                    center,
                                    debug)