combine_data_events: Combine list of events into single event.
Description
If any event is a shape_changed
event, return it.
Otherwise, take the unique elements of the union of all
element changes.
Usage
combine_data_events(events)
Arguments
events
a list of event parameters