Implement a mapping component that takes an input dataset consisting of homogenous elements and creates morphs for each element according to the modifications executed by the user.
The user modifies a arbitrary example morph in two possible ways.
- He can modify the example morph directly through the style halo and set static attributes.
- He can bind specific data keys to certain morph attributes by scripting those relationships in a workspace also contained in the component. (e.g. morph.setHeight(element.commitCount))
The component then creates a morph for each data set element. To do so, it applies the mapping defined on the example morph to every morph it creates.
The output will be an array of all created morphs.
Implement a mapping component that takes an input dataset consisting of homogenous elements and creates morphs for each element according to the modifications executed by the user.
The user modifies a arbitrary example morph in two possible ways.
The component then creates a morph for each data set element. To do so, it applies the mapping defined on the example morph to every morph it creates.
The output will be an array of all created morphs.