@antv/layout
Version:
graph layout algorithm
7 lines (6 loc) • 304 B
TypeScript
import { Edge } from '@antv/graphlib';
import { EdgeData, Graph } from '../../types';
declare const longestPath: (g: Graph) => void;
declare const longestPathWithLayer: (g: Graph) => void;
declare const slack: (g: Graph, e: Edge<EdgeData>) => number;
export { longestPath, longestPathWithLayer, slack };