Constructor
Constructs a ShowDiffTransformation that will re-draw all dissimilar
hosts (comparison based on hosts' names) and events (comparison based
on the event capture group) between two executions, as rhombuses.
- Source:
Methods
compare(model)
Compares the hosts of the given model with the hosts of viewBeingComparedTo.
Dissimilar hosts are re-drawn as rhombuses and hosts that appear in both models
have their processes compared node by node.
Parameters:
Name |
Type |
Description |
model |
VisualGraph
|
The VisualGraph to transform |
- Source:
compareNodeContent(model, next, otherNext)
Compares processes node by node to find events that are dissimilar. Nodes are
compared by the event capture group and different nodes are re-drawn as a rhombus
Parameters:
Name |
Type |
Description |
model |
VisualGraph
|
The VisualGraph to transform |
next |
ModelNode
|
The first non-start node in this graph |
otherNext |
ModelNode
|
The first non-start node in the graph of the other execution |
- Source:
compareNodes(model, host)
Compares events in processes with the same host
Parameters:
Name |
Type |
Description |
model |
VisualGraph
|
The VisualGraph to transform |
host |
String
|
A host that's common to both executions |
- Source:
Performs the transformation on the given VisualGraph. The VisualGraph and its
underlying Graph are modified in place
Parameters:
Name |
Type |
Description |
model |
VisualGraph
|
The VisualGraph to transform |
- Source: