graphs taking into account the job periods