import type { GIGraphData } from '@antv/gi-sdk'; import { IFilterCriteria } from './type'; /** * * @param source 筛选前的画布数据 * @param filterCriteria 筛选标准 * @param graph G6 画布实例 * @returns */ export declare const filterGraphData: (source: GIGraphData, filterCriteria: IFilterCriteria, isFilterIsolatedNodes: boolean) => GIGraphData; /** * * @param graphData 画布数据 * @param prop 节点/边属性 * @param elementType 元素类型 * @returns 图表数据 */ export declare const getChartData: (graphData: GIGraphData, prop: string, elementType: 'node' | 'edge') => Map; /** * * @param graphData 画布数据 * @param prop 节点/边属性 * @param elementType 元素类型 * @returns 直方图图表数据 */ export declare const getHistogramData: (graphData: any, prop: string, elementType: 'node' | 'edge') => any; /** *高亮选中的节点和边 * @param graph G6 graph 实例 * @param data 子图数据 * @returns */ export declare const highlightSubGraph: (graph: any, data: GIGraphData) => { isEmpty?: undefined; isFull?: undefined; } | { isEmpty: boolean; isFull: boolean; };