d3-dag
Version:
Layout algorithms for visualizing directed acylic graphs.
12 lines (11 loc) • 331 B
TypeScript
/**
* Until this is customizable, this is an internal module
*
* @internal
* @packageDocumentation
*/
import { GraphLink, GraphNode } from "../graph";
/**
* @returns link map which takes source, target, and ind to get lane
*/
export declare function greedy(nodes: readonly GraphNode[], gap: number): Map<GraphLink, number>;