select a graph