Automatically schedule tasks in Gantt view based on workload and dependencies