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 is stored alongside the dependency type in the
gantt_dependency_metadata custom field on the work item.
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.
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.
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