# The element "transformers"

The <transformers> element contains information on the transformations that shall be applied on the input model. There can be more than one transformation, and transformations are run on the input model or on the result of another transformation. This element is the top-level element under which are nested individual <Transformer> definitions. See here for a full discussion of all ShapeChange transformations and their specific configuration options.

Each transformation listed in the configuration can be switched off by setting the "mode" attribute to "disabled". The default value is "enabled".

A sample <transformers> section of a configuration file can look like the following:

      1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22

      <transformers>
        <Transformer
            class="de.interactive_instruments.ShapeChange.Transformation.Identity.IdentityTransform"
            mode="enabled" id="identity">
        </Transformer>
        <Transformer
           class="de.interactive_instruments.ShapeChange.Transformation.Profiling.Profiler"
            mode="enabled" id="A" input="identity">
            <parameters>
                <ProcessParameter name="profiles" value="A"/>
                <ProcessParameter name="constraintHandling" value="remove"/>
            </parameters>
        </Transformer>
        <Transformer
           class="de.interactive_instruments.ShapeChange.Transformation.Profiling.Profiler"
            mode="enabled" id="B" input="identity">
            <parameters>
                <ProcessParameter name="profiles" value="B"/>
                <ProcessParameter name="constraintHandling" value="remove"/>
            </parameters>
        </Transformer>
    </transformers>