1. A method for providing a query-based diagrammatic presentation of data, the method comprising: generating a filter element that defines a set of groups and includes a set of declarative queries that define information to be included in the set of groups; applying the filter element to a data source, including performing the set of declarative queries on the data source, thereby generating a set of query results for each of the groups; generating a diagram including a set of shapes representing the set of groups, and a set of nodes nested completely inside of each of the shapes, wherein the nodes for each respective group are determined based on the query results for the groups, respectively; and wherein the applying the filter element and the generating a diagram are performed by at least one computer processor.
1. A method for providing a query-based diagrammatic presentation of data, the method comprising: generating a filter element that defines a set of groups and includes a set of declarative queries that define information to be included in the set of groups; applying the filter element to a data source, including performing the set of declarative queries on the data source, thereby generating a set of query results for each of the groups; generating a diagram including a set of shapes representing the set of groups, and a set of nodes nested completely inside of each of the shapes, wherein the nodes for each respective group are determined based on the query results for the groups, respectively; and wherein the applying the filter element and the generating a diagram are performed by at least one computer processor. 2. The method of claim 1 , wherein the generated diagram further includes a set of members within each of the nodes, and wherein the set of members for each node is determined based on the query results.