@maxgraph/core
Version:
maxGraph is a fully client side JavaScript diagramming library that uses SVG and HTML for rendering.
7 lines (6 loc) • 634 B
TypeScript
import type { AbstractGraph } from '../AbstractGraph.js';
type PartialGraph = Pick<AbstractGraph, 'getContainer' | 'getView' | 'getPlugin' | 'fireEvent'>;
type PartialPanning = Pick<AbstractGraph, 'shiftPreview1' | 'shiftPreview2' | 'useScrollbarsForPanning' | 'timerAutoScroll' | 'allowAutoPanning' | 'panDx' | 'panDy' | 'isUseScrollbarsForPanning' | 'isTimerAutoScroll' | 'isAllowAutoPanning' | 'getPanDx' | 'setPanDx' | 'getPanDy' | 'setPanDy' | 'panGraph' | 'scrollCellToVisible' | 'scrollRectToVisible' | 'setPanning'>;
type PartialType = PartialGraph & PartialPanning;
export declare const PanningMixin: PartialType;
export {};