@maxgraph/core
Version:
maxGraph is a fully client side JavaScript diagramming library that uses SVG and HTML for rendering.
7 lines (6 loc) • 448 B
TypeScript
import type { AbstractGraph } from '../AbstractGraph.js';
type PartialGraph = Pick<AbstractGraph, 'getView' | 'getSelectionCell' | 'getContainer' | 'scrollRectToVisible'>;
type PartialZoom = Pick<AbstractGraph, 'zoomFactor' | 'keepSelectionVisibleOnZoom' | 'centerZoom' | 'zoomIn' | 'zoomOut' | 'zoomActual' | 'zoomTo' | 'zoom' | 'zoomToRect'>;
type PartialType = PartialGraph & PartialZoom;
export declare const ZoomMixin: PartialType;
export {};