(
payload: RoamPayload,
componentOrSeries: ComponentModel,
ecModel: GlobalModel,
api: ExtensionAPI
)
| 707 | } |
| 708 | |
| 709 | export function ownRoamViewUpdateDirectlyInAction( |
| 710 | payload: RoamPayload, |
| 711 | componentOrSeries: ComponentModel, |
| 712 | ecModel: GlobalModel, |
| 713 | api: ExtensionAPI |
| 714 | ): void { |
| 715 | // Tricky: disable animation in `updateProps` of `graphic.ts`. |
| 716 | ecModel.setUpdatePayload(payloadDisableAnimation(payload)); |
| 717 | |
| 718 | const componentOrSeriesView = getViewOfComponentOrSeries(api, componentOrSeries); |
| 719 | if (componentOrSeriesView && (componentOrSeriesView as ChartComponentRoamHostView).__updateOnOwnRoam) { |
| 720 | (componentOrSeriesView as ChartComponentRoamHostView).__updateOnOwnRoam(payload, componentOrSeries, api); |
| 721 | } |
| 722 | } |
| 723 | |
| 724 | function applyRoamPayloadToOverallTrans( |
| 725 | targetOverallTrans: Transformable, |
no test coverage detected
searching dependent graphs…