godot/ui/graph_view_model.py
def _request_graph(self, parent=None):
        """ Displays a dialog for graph selection if more than one exists.
            Returns None if the dialog is canceled.
        """

        if (len(self.all_graphs) > 1) and (self.select_graph):
            retval = self.edit_traits(parent = parent,
                                      view   = "all_graphs_view")
            if not retval.result:
                return None

        if self.selected_graph is not None:
            return self.selected_graph
        else:
            return self.model
def _request_graph(self, parent=None):
        if (len(self.all_graphs) > 1) and (self.select_graph):
            retval = self.edit_traits(parent = parent,
                                      view   = "all_graphs_view")
            if not retval.result:
                return None

        if self.selected_graph is not None:
            return self.selected_graph
        else:
            return self.model
def _request_graph ( self , parent = None ) : if ( len ( self . all_graphs ) > 1 ) and ( self . select_graph ) : retval = self . edit_traits ( parent = parent , view = "all_graphs_view" ) if not retval . result : return None if self . selected_graph is not None : return self . selected_graph else : return self . model
Displays a dialog for graph selection if more than one exists.
            Returns None if the dialog is canceled.
Displays a dialog for graph selection if more than one exists . Returns None if the dialog is canceled .