UNPKG

entropyx

Version:

A simple data mining library, written in TypeScript

11 lines (10 loc) 405 B
export declare class AdjacencyMatrix { private matrix; private nodeMapping; private constructor(); getMatrix(): number[][]; getLegend(): Record<number, string | number>; getNodeName(index: number): string | number; static fromEdgeList(edgeList: Array<[string | number, string | number]>): AdjacencyMatrix; static fromEdgeListFile(path: string): Promise<AdjacencyMatrix>; }