Once you have defined all timeline properties for classes and diagrams, you can create a new timeline diagram. Right-click in the repository on diagram and select create New Timeline Diagram (alternatively right click on the Diagrams view on the right).
The property “Enable timeline function” is automatically set to TRUE so that all timeline properties are displayed in the diagram properties.
Fill in the following diagram properties:
Start time and end time of the timeline displayed on the diagram.
The time can either be defined as a date from the calendar, or as a relative date (duration) with a ”-” or a ”+” in front, e.g.:
Start and end times must be defined strictly in the same format!
**Time duration units** that appear on the diagram as divisions (time segments): Years (y), months (m), weeks (w), days (d), minutes (M), seconds (s).
Timeline subdivisions (snap) - each time unit is subdivided in the number specified here between the divisions (time segments), for the year it would be 12 (months), for months - 4 (weeks), for week - 7 (days) etc. When an object is created between the divisions, its date is configured in accordance with the subdivision (e.g. 2m 2w). Timeline subdivisions (snap) property is only applicable when working with relative dates. It does not affect the diagram when working with absolute dates.
Time format - in this property you define how the time is displayed on the divisions (time segments). You can either use the default time settings (e.g. 12/02/2016) or define your own, for example:
MMM yyyy- Dec 2016
MMM yy- Dec 16
Show start and end time - set this property to TRUE if you want to display the start and / or end time on the diagram.
Synchronize with properties of parent object
When you create an object as a time interval (e.g. from -7m to -2m) and create from this object a new (interconnected) timeline diagram and then you set the property Synchronize with properties of parent diagram in the properties of the diagram to TRUE, then the date of this object (here is meant the “jumping-off object” from which you created the smart tag on the new diagram) and of this interconnected diagram are synchronized. This means that when the time interval for the object is increased or decreased (e.g. at -6m to -3m), then the timeline on the linked diagram is changed accordingly.
Now you can create objects on the new timeline diagram. When you place a time interval or a time point object on the diagram and define a specific time in the object properties, then the object is created precisely in this time interval or time point on the diagram. Conversely, if you change the position or size of the object, its time properties change accordingly.