Advanced dependency types (SS, FF, SF) require Gantt version 2.7.0 or later. Earlier versions only support Finish-to-Start.
Dependency Type Codes
| Code | Type | Name | Constraint |
|---|---|---|---|
0 | finish_to_start | Finish-to-Start (FS) | Target task cannot start before source task ends (may start later) |
1 | start_to_start | Start-to-Start (SS) | Target task cannot start until source task starts (may start later) |
2 | finish_to_finish | Finish-to-Finish (FF) | Target task cannot end before source task ends (may end later) |
3 | start_to_finish | Start-to-Finish (SF) | Target task cannot end before source task starts (may end later) |
Dependency Link Properties
Each dependency link in the Gantt chart carries the following properties:| Property | Type | Default | Description |
|---|---|---|---|
id | String | Generated | Unique identifier derived from the Polarion link role and connected work item IDs |
source | String | Required | ID of the predecessor (source) task in the dependency |
target | String | Required | ID of the successor (target) task in the dependency |
type | String | 0 (FS) | Dependency type code: 0=FS, 1=SS, 2=FF, 3=SF |
roleId | String | See application | The Polarion link role ID used for this dependency link (e.g. dependson) |
roleName | String | See application | Human-readable name of the Polarion link role (e.g. “depends on”) |
lag | Integer | 0 | Lag time in days (positive) or lead time (negative) applied to the dependency |
Dependency Type Visual Reference
Enabling Advanced Dependency Types
By default, only Finish-to-Start (0) dependency links are supported. To enable all four types, set the following configuration property:
Dependency Role Widget Parameter
The Dependency Role widget parameter controls which Polarion work item link roles represent dependency relationships. Configure this under Widget Properties > Work Items > Dependency Roles.| Setting | Description |
|---|---|
| Empty | No dependency links are shown |
| Single role selected | All dependency links use this role |
| Multiple roles selected | The first role is used when creating new dependency links via drag |
Link Role Mapping per Dependency Type
You can optionally map each dependency type to a different Polarion link role by adding these configuration properties:Link Direction
By default, the Gantt reverses the arrow direction to match standard Gantt chart conventions (source points to dependent item). If your Polarion link role already points from source to dependent, set the forward dependency property:Disabling Dependency Link Creation
To prevent users from creating dependency links by dragging, add this to the Gantt Config Script widget parameter:Constraint Violation Indicators
When a dependency constraint is violated (for example, a target task is scheduled before its source finishes in a Finish-to-Start relationship), the Gantt displays a red dotted line under the incorrectly positioned task bar. Move the task to comply with the dependency rules to resolve the violation.Lag and Lead Time
Each dependency link supports alag property:
| Value | Effect |
|---|---|
Positive integer (e.g. 2) | Delays the successor by the specified number of days after the dependency constraint |
0 | No lag (default) |
Negative integer (e.g. -1) | Creates lead time, allowing the successor to begin before the dependency constraint |
Related Pages
- Create Your First Dependency Link — step-by-step tutorial
- Work Items Gantt Widget Parameters — Dependency Role parameter
- General Administration Properties — advanced dependency properties
- Gantt Config Script API —
drag_linksand other config overrides
Sources
Sources
KB ArticlesSupport TicketsSource Code
prod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/model/Data.javaprod-gantt-src/com.nextedy.polarion.gantt.client/src/js/config.jsprod-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/types/TypeConfigWidgetParameters.javaprod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/widget/WorkItemsGanttWidget.java