@antv/f6
Version:
A Mobile Graph Visualization Framework in JavaScript
18 lines (17 loc) • 583 B
TypeScript
import { AbstractLayout } from '@antv/f6-core';
import { IGraph } from '../../interface/graph';
export default class LayoutController extends AbstractLayout {
graph: IGraph;
destroyed: boolean;
constructor(graph: IGraph);
updateLayoutCfg(cfg: any): void;
/**
* @param {function} success callback
* @return {boolean} 是否使用web worker布局
*/
layout(success?: () => void): boolean;
private execLayoutMethod;
private updateLayoutMethod;
protected adjustPipesBox(data: any, adjust: string): Promise<void>;
destroy(): void;
}