Skip to content

Adds new options for moving precedences and maintaining the positioning between dependent tasks #535

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

stephenjmaher
Copy link

In an application for this gantt chart, I need the dependent tasks to be linked. As such, a change to one triggers a change in others.

Consider the following example where Task B "Write new content" depends on Task A "Redesign website".
original

If Task A is moved, or the ending time is changed, then that should result in Task B moving by the same amount.
move_task_a
extend_task_a

Also, the precedent tasks are important. If Task B was moved or the start time was changed, the Task A should ,pve by the same amount.
move_task_b
extend_task_b

To this end, this PR introduces two new parameters: move_precedences and maintain_dependency_position.

  • If move_precedence is set to true, then the precedent tasks are moved in the same way that the dependent tasks were moved previously.
  • The maintain_dependency_position parameter ensures that any change to tasks results in a move in the dependent tasks.
  • If both are set to true, the changes in the dependent task start time will cause a movement in the preceding task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant