import { ISelectionOptions } from '../utils/graph.utils'; import { IEdgeBase } from './edge'; import { IGraph } from './graph'; import { INodeBase } from './node'; export interface IGraphInteraction { selectNodeById(id: any, options?: ISelectionOptions): boolean; selectNodesByIds(ids: any[], options?: ISelectionOptions): number; selectEdgeById(id: any, options?: ISelectionOptions): boolean; selectEdgesByIds(ids: any[], options?: ISelectionOptions): number; unselectNodeById(id: any, options?: ISelectionOptions): boolean; unselectNodesByIds(ids: any[], options?: ISelectionOptions): number; unselectEdgeById(id: any, options?: ISelectionOptions): boolean; unselectEdgesByIds(ids: any[], options?: ISelectionOptions): number; unselectAll(): number; hoverNodeById(id: any): boolean; hoverEdgeById(id: any): boolean; unhoverAll(): number; } export declare class GraphInteraction implements IGraphInteraction { private _graph; constructor(graph: IGraph); selectNodeById(id: any, options?: ISelectionOptions): boolean; selectNodesByIds(ids: any[], options?: ISelectionOptions): number; selectEdgeById(id: any, options?: ISelectionOptions): boolean; selectEdgesByIds(ids: any[], options?: ISelectionOptions): number; unselectNodeById(id: any, options?: ISelectionOptions): boolean; unselectNodesByIds(ids: any[], options?: ISelectionOptions): number; unselectEdgeById(id: any, options?: ISelectionOptions): boolean; unselectEdgesByIds(ids: any[], options?: ISelectionOptions): number; unselectAll(): number; hoverNodeById(id: any): boolean; hoverEdgeById(id: any): boolean; unhoverAll(): number; }