7 lines
349 B
TypeScript
7 lines
349 B
TypeScript
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[];
|