Interactive Aggregation Demo
This demo shows how to analyze a graph by aggregating groups of nodes.
Via the context menu, groups of nodes of the same color or shape can be aggregated giving
different insights about the graph.
For example, aggregating all nodes by color shows that there are no connections
between purple and green nodes, while blue nodes are connected to both other colors.
Aggregating by shape and color shows that there are no connections between
rectangular nodes of different color and no connections between green nodes of different
shape.
The demo makes use of the
AggregationGraphWrapper
class, that allows for aggregating graph items by hiding items and adding new items to a
wrapped graph.
Things to Try
-
Right-click on a node to open a
context menu
with the different aggregation and expansion options.
-
Aggregate all nodes with the
same shape or color
by selecting "Aggregate Nodes with Same ...".
-
Separate
an aggregation node again by selecting "Separate".
-
Right-click on an empty location on the canvas and select "Aggregate All Nodes by ..."
to
group all nodes
by shape or color.
-
Right-click on an empty location on the canvas and select "Separate All" to show the
whole graph again.