def birdseye_view_update(self):
        """Move whole graph respective spot in graph representation is shown.

        That is, if the mouse is pressed and within the graph representation,
        move the whole graph so that the equivalent spot in the whole graph
        can be seen in the center of the screen.

        We only move if we are not already in that spot, though.
        """

        ### only proceed if mouse button 1 is pressed

        if SERVICES_NS.get_mouse_pressed()[0]:

            ## get mouse position and reference the editing assistant

            mouse_pos = SERVICES_NS.get_mouse_pos()

            ea = APP_REFS.ea

            ## only proceed if the mouse position is within the graph
            ## representation...

            if ea.birdseye_graph.rect.collidepoint(mouse_pos):

                ## only proceed if we aren't in that spot already...

                if mouse_pos != ea.birdseye_view_last_mouse_pos:

                    ## scroll whole graph so the respective spot
                    ## is centered on the screen
                    ea.scroll_from_birdseye_view(mouse_pos)

                    ## update labels
                    for item in self.labels_update_methods:
                        item()

                    ## redraw objects once
                    self.birdseye_view_draw_once()
Move whole graph respective spot in graph representation is shown.

        That is, if the mouse is pressed and within the graph representation,
        move the whole graph so that the equivalent spot in the whole graph
        can be seen in the center of the screen.

        We only move if we are not already in that spot, though.
        
nodezator/winman/states/birdseyeview.py