18. The computer-readable storage medium of claim 11 , wherein the method further comprises: changing information in the data source, thereby generating a modified data source; and applying the filter element to the modified data source, including performing the set of declarative queries on the modified data source, thereby generating a second set of query results for each of the groups.
19. The computer-readable storage medium of claim 18 , wherein the method further comprises: generating a second diagram including a set of shapes representing the set of groups, and a set of nodes nested within each of the shapes, wherein the nodes for each group in the second diagram are determined based on the second set of query results for that group, and wherein the second diagram reflects the change in information in the data source.