UNPKG

@antv/x6

Version:

JavaScript diagramming library that uses SVG and HTML for rendering.

10 lines (9 loc) 278 B
export declare namespace Dijkstra { type AdjacencyList = { [key: string]: string[]; }; type Weight = (u: string, v: string) => number; function run(adjacencyList: AdjacencyList, source: string, weight?: Weight): { [key: string]: string; }; }