Prerequisites
- Advanced dependency types enabled (
nextedy.gantt.default.advanced_dependencies=true) - The
gantt_dependency_metadatacustom field exists on your work item types (see Dependency Metadata Storage)
How Lag Works
Each dependency link carries an optional lag value measured in days:| Lag Value | Effect |
|---|---|
0 (default) | Successor starts immediately per the dependency constraint |
Positive (e.g., 2) | Successor is delayed by 2 days after the constraint is met |
Negative (e.g., -1) | Successor can start 1 day before the constraint is met (lead time) |
gantt_dependency_metadata custom field on the work item.
Step 1 — Edit the Lag Value
- Enter Edit mode on the Gantt chart.
- Double-click a dependency link arrow between two tasks to open the link editor.
- Set the Lag field to the desired number of days. Use a positive number for delay or a negative number for lead time.
- Click Save to apply the change.
The exact UI for editing lag may vary by Gantt version. If double-clicking the link arrow does not open an editor, check that your Gantt version supports lag editing.
Step 2 — Verify Lag Persistence
After saving, reload the Gantt page. Hover over the dependency link arrow to see a tooltip displaying the link type, role name, and lag value.Step 3 — Combine Lag with Auto-Scheduling
When auto-scheduling is enabled, the Gantt takes lag into account when calculating successor start dates. A Finish-to-Start link with a lag of 3 means the successor will be scheduled to start 3 working days after the predecessor finishes.Verification
You should now see:- The lag value displayed in the dependency link tooltip
- The successor task bar shifted by the specified number of days relative to the predecessor
- Lag values preserved after saving and reloading the Gantt chart
See Also
- Configure Advanced Dependency Types (FS, SS, FF, SF)
- Dependency Metadata Storage
- Configure Auto-Scheduling
- Create and Configure Dependency Links
Sources
Sources
KB ArticlesSupport TicketsSource Code
prod-gantt-src/com.nextedy.polarion.gantt.client/src/types/gantt-extended.d.tsprod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/model/Link.javaprod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/model/impl/WorkItemsGanttDataService.javaprod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/model/IGanttDataService.javaprod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/model/IGanttService.java