Class: Transformation

Transformation

A graph transformation takes a graph as input and modifies it in place. Each type of transformation is defined in its own class. Graph transformations should strive to preserve the definitions of 'parent', 'child', 'next' and 'previous' as defined in AbstractNode Each transformation should declare a priority field of type Number. Transformations of highest priority will be applied first.

Constructor

(abstract) new Transformation()

Constructor for Transformation. This may be invoked by concrete sub-classes
Source:

Methods

(abstract) transform(model)

The transform method is solely responsible for performing the actual transformation. The provided VisualGraph and its underlying ModelGraph is modified in place
Parameters:
Name Type Description
model VisualGraph
Source: