UNPKG

@graphty/algorithms

Version:

Graph algorithms library for browser environments implemented in TypeScript

9 lines 338 B
import { Graph } from "../../core/graph.js"; import type { Edge } from "../../types/index.js"; export interface MSTResult { edges: Edge[]; totalWeight: number; } export declare function kruskalMST(graph: Graph): MSTResult; export declare function minimumSpanningTree(graph: Graph): MSTResult; //# sourceMappingURL=kruskal.d.ts.map