UNPKG

@antv/algorithm

Version:
8 lines (7 loc) 349 B
import { GraphData } from './types'; export declare const findShortestPath: (graphData: GraphData, start: string, end: string, directed?: boolean, weightPropertyName?: string) => { length: any; path: any; allPath: any; }; export declare const findAllPath: (graphData: GraphData, start: string, end: string, directed?: boolean) => any[];