import { HistoryDiagramEvent , HistoryEventLevel , diagramEvent } from '@/store/history/types' ; import { DiagramEventType } from '@/store/dataflow/types' ; export const panningEvent = ( to , from ) : HistoryDiagramEvent => { return diagramEvent ( DiagramEventType . PANNING , 'panning' , { from , to } ) ; } ;