Interactive custom content

You can use the onGroupMouseMove event combined with the onGroupMouseDown and onGroupMouseUp events to react to user interactions with custom content drawn in the groupContentDecorator.

This example draws and reacts to user interactions with the "up" and "down" arrows that increase and decrease the weight of individual groups.

What's in the code?