* perform * This performs a bit of work. Perform accepts a variable number of "action" arguments. * "Actions" are functions that accept a Graph and return a modified Graph. * All work is performed against the `staging` work-in-progress edit. * If multiple functions are passed, they will
(...args)
| 294 | * @return {Difference} Difference between before and after of `staging` Edit |
| 295 | */ |
| 296 | perform(...args) { |
| 297 | d3_select(document).interrupt('editTransition'); // complete any transition already in progress |
| 298 | this._perform(args, 1); |
| 299 | return this._updateChanges(); // only one place in the code uses this return - split operation? |
| 300 | } |
| 301 | |
| 302 | |
| 303 | /** |