UNPKG

@antv/layout

Version:
9 lines (8 loc) 256 B
import { ID } from '@antv/graphlib'; import { Graph as IGraph } from '../types'; declare const run: (g: IGraph) => { nestingRoot: ID; nodeRankFactor: number; }; declare const cleanup: (g: IGraph, nestingRoot?: ID) => void; export { run, cleanup };