Transforms

This documentation is currently being moved to our new documentation site.

Please view or edit the documentation there, instead.

If you're looking for Fluid Project coordination, design, communication, etc, try the Fluid Project Wiki.

Transforms

DRAFT; Incomplete

 

 

The Framework currently several transforms that can be used as part of a model transformation, as described below.

fluid.transforms.arrayToObject

Transforms an array into a JavaScript object.

back to top

fluid.transforms.arrayToSetMembership

 

back to top

fluid.transforms.arrayValue

Transforms a value into an aray. If the value is already an array, the expander will have no effect.

For example:

 

back to top

fluid.transforms.binaryOp

 

back to top

fluid.transforms.binaryLookup.*

 

back to top

fluid.transforms.condition

 

back to top

fluid.transforms.count

 

back to top

fluid.transforms.linearScale

 

back to top

fluid.transforms.literalValue

 

back to top

fluid.transforms.objectToArray

 

back to top

fluid.transforms.round

 

back to top

fluid.transforms.setMembershipToArray

 

back to top

fluid.transforms.value

This extracts and/or the value of a given path, and can be used for the following purposes:

To rename a property:

To set a default value:

To specify a literal value:

To change the structure/nesting:

 

back to top

fluid.transforms.value.invert

 

back to top

fluid.transforms.valueMapper

 

back to top