You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
485 B
16 lines
485 B
import type { Graph, Node, Point } from '../types';
|
|
export type RadialNonoverlapForceOptions = {
|
|
positions: Point[];
|
|
focusIdx: number;
|
|
radii: number[];
|
|
iterations: number;
|
|
height: number;
|
|
width: number;
|
|
k: number;
|
|
strictRadial: boolean;
|
|
nodes: Node[];
|
|
speed?: number;
|
|
gravity?: number;
|
|
nodeSizeFunc: (node: Node) => number;
|
|
};
|
|
export declare const radialNonoverlapForce: (graph: Graph, options: RadialNonoverlapForceOptions) => Point[];
|
|
|