1. A method performed on a computing device, the method comprising: generating, by the computing device, a graph representing switches between various windows, the graph comprising nodes, edges, and weights, where each node in the graph represents one of the various windows, and where each edge of the graph represents a switch between two of the various windows, and where the each edge is weighted based on a number of switches between the two of the various windows; discarding directionality of the edges of the generated graph; eliminating the edges of the generated graph that are weighted less than a particular threshold; grouping, based on the generated graph subsequent to the discarding and the eliminating, some of the various windows.