@antv/layout
Version:
graph layout algorithm
17 lines (14 loc) • 324 B
TypeScript
import { Point } from '../types/point.js';
/**
* Viewport configuration such as width, height and center point.
*/
declare const normalizeViewport: (options: {
width?: number;
height?: number;
center?: Point;
}) => {
width: number;
height: number;
center: Point;
};
export { normalizeViewport };