You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
I implemented that changing extent, rotation or fill color of the prototype morph will notify the dependent components. Which attribute changes should cause a notification can be changed easily. A more generic way than using explicit attributes is desirable, though.
At the moment, the setter functions of the attributes in the prototype morph will be hooked. If you delete the existing prototype morph and drop a new one into the component, the hook will be constructed not until you change something in your mapping code.
Probably, there should be an event listener which reacts to dropping new morphs into the mapping component.
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.
The text was updated successfully, but these errors were encountered: