import { FruchtermanLayoutOptions, Graph, Layout, LayoutMapping } from '@antv/layout'; /** * Fruchterman 力导向布局(GPU 版) * * Fruchterman force-directed layout(GPU) */ export declare class FruchtermanLayout implements Layout { options: FruchtermanLayoutOptions; id: string; constructor(options?: FruchtermanLayoutOptions); /** * Return the positions of nodes and edges(if needed). */ execute(graph: Graph, options?: FruchtermanLayoutOptions): Promise; /** * To directly assign the positions to the nodes. */ assign(graph: Graph, options?: FruchtermanLayoutOptions): Promise; private genericFruchtermanLayout; private formatOptions; }