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
shape and color
shows that there are no connections between rectangle shaped nodes of different color and
no connections between octagonal green and purple nodes.
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.