@progress/kendo-angular-gantt
Version:
Kendo UI Angular Gantt
30 lines (29 loc) • 971 B
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { DependencyType } from './dependency-type.enum';
/**
* Represents a Gantt dependency.
*
* Use this interface to describe a dependency between two tasks in the Gantt chart.
*
*/
export interface GanttDependency {
/**
* Sets the `id` of the origin task for this dependency.
*/
fromId: string | number;
/**
* Sets the unique identifier of the dependency.
*/
id: string | number;
/**
* Sets the `id` of the destination task for this dependency.
*/
toId: string | number;
/**
* Sets the type of the dependency.
*/
type: DependencyType;
}