DependencyBaseModel
Base class used for both Scheduler and Gantt that defines the common dependency fields such as from, to, and type. Not intended to be used directly — use DependencyModel instead.
See also
- DependencyModel - Scheduler dependency model
- DependencyStore - Store for dependencies
Fields
Fields belong to a Model class and define the Model data structure-
Bidirectional, drawn with arrows in both directions
-
From event, id of source event
-
Start side on source (top, left, bottom, right)
-
The magnitude of this dependency's lag (the number of units).
-
To event, id of target event
-
End side on target (top, left, bottom, right)
-
Dependency type, see static property Type
-
CSS class to apply to lines drawn for the dependency
Properties
Properties are getters/setters or publicly accessible variables on this class-
Identifies an object as an instance of DependencyBaseModel class, or subclass thereof.
-
An enumerable object, containing names for the dependency types integer constants.
- 0 StartToStart
- 1 StartToEnd
- 2 EndToStart
- 3 EndToEnd
-
Identifies an object as an instance of DependencyBaseModel class, or subclass thereof.
-
Returns
trueif the linked events have been persisted (e.g. neither of them are 'phantoms') -
Returns
trueif the dependency is valid. It is considered valid if it has a valid type and both from and to events are set and pointing to different events.