API reference: @salmonui/gantt
GanttDependencyinterface
import type { GanttDependency } from '@salmonui/gantt';interface Dependency {
readonly id: TaskId;
readonly type: DependencyType;
readonly lag: number;
readonly lagUnit: DurationUnit;
}
A link from a predecessor (id) to the task that owns it; lag in lagUnit of working time (negative = lead).
| Name | Signature | Description |
|---|---|---|
id | readonly id: TaskId; | |
type | readonly type: DependencyType; | |
lag | readonly lag: number; | |
lagUnit | readonly lagUnit: DurationUnit; |