UNPKG

graphinius

Version:

Generic graph library in Typescript

12 lines (9 loc) 257 B
import { IBaseNode } from '../core/base/BaseNode'; export interface GraphPartitioning { partitions : Map<number, Partition> nodePartMap : Map<string, number>; cut_cost : number; } export interface Partition { nodes : Map<string, IBaseNode>; }