UNPKG

@thi.ng/adjacency

Version:

Sparse & bitwise adjacency matrices, lists and selected traversal algorithms for directed & undirected graphs

9 lines 457 B
import type { Pair } from "@thi.ng/api"; import type { Edge, IGraph } from "./api.js"; /** @internal */ export declare const __toDot: (edges: Iterable<Pair<number, number>>, undirected: boolean, ids?: string[]) => string; /** @internal */ export declare const __into: (graph: IGraph, edges: Iterable<Edge>) => void; /** @internal */ export declare const __invert: <T extends IGraph>(graph: T, edges: Iterable<Edge>) => T; //# sourceMappingURL=utils.d.ts.map