UNPKG

@maxgraph/core

Version:

maxGraph is a fully client side JavaScript diagramming library that uses SVG and HTML for rendering.

7 lines (6 loc) 1.02 kB
import type { AbstractGraph } from '../AbstractGraph.js'; type PartialGraph = Pick<AbstractGraph, 'getDataModel' | 'getView' | 'isCellSelectable' | 'fireEvent' | 'getDefaultParent' | 'getCurrentRoot' | 'getCells' | 'isToggleEvent'>; type PartialCells = Pick<AbstractGraph, 'singleSelection' | 'selectionModel' | 'getSelectionModel' | 'setSelectionModel' | 'isCellSelected' | 'isSelectionEmpty' | 'clearSelection' | 'getSelectionCount' | 'getSelectionCell' | 'getSelectionCells' | 'setSelectionCell' | 'setSelectionCells' | 'addSelectionCell' | 'addSelectionCells' | 'removeSelectionCell' | 'removeSelectionCells' | 'selectRegion' | 'selectNextCell' | 'selectPreviousCell' | 'selectParentCell' | 'selectChildCell' | 'selectCell' | 'selectAll' | 'selectVertices' | 'selectEdges' | 'selectCells' | 'selectCellForEvent' | 'selectCellsForEvent' | 'isSiblingSelected' | 'getSelectionCellsForChanges' | 'updateSelection'>; type PartialType = PartialGraph & PartialCells; export declare const SelectionMixin: PartialType; export {};