Communicator Method Category Graph - LucPrestin/Hidden-Modularity GitHub Wiki

The Communicator Method Category Graph uses the following mapping between the trace data and the visualization parameters:

The label is generated by utilizing the combination of a class and a method category. The method categories get normalized, i.e. aggregating very similar categories like the 20 subcategories of accessing. For each object and message sent a node with that object's class and the message's category is created. Nodes that are based on the same class and message category get aggregated.

The color is calculated by the communicating object's class' package.

The senders and receiver are used to create the graph's edges. An edge goes from the node with the sender's class and the sending method's category to the node with the receiver's class and the sent message's category. The edges are then used to calculate the node size and distance. The size is calculated by the amount of incoming and outgoing edges. The distance is calculated by the general repelling force and the edge's attracting force.

The Communicator Method Category Graph can be seen as the combination of Communicator Graph and the Method Category Graph.

Example:

The example is taken from the scenario Opening a Morph in the World.