UNPKG

@graphty/layout

Version:

graph layout algorithms based on networkx

8 lines (6 loc) 219 B
/** * Type definitions for optimization algorithms */ import { Node } from '../../types'; // Type definitions for distance structure used in Kamada-Kawai export type DistanceMap = Record<Node, Record<Node, number>>;