ng-custom-gantt-chart-v2
Version:
Interactive JavaScript Gantt chart/resource booking component
14 lines (13 loc) • 423 B
TypeScript
import { SvelteTask } from './task';
/**
* Layouts tasks in a 'pack' layout:
* - overlapping tasks display in the same row, but shrink to not overlap with eachother
*
* @param tasks
* @param params
*
* TODO:: tests, optimization: update only rows that have changes, update only overlapping tasks
*/
export declare function layout(tasks: SvelteTask[], params: {
rowContentHeight: number;
}): void;