日本語
@eightkk/vue-weave / core / propagateEdit
Function: propagateEdit()
propagateEdit(
input,edit):PropagateEditResult
Defined in: src/core/scheduling.ts:200
Reschedule a plan after one task is moved or resized, for example to preview or apply a GanttChart edit together with its downstream effects. The edited task gets fixedStart at the new start (replacing any fixed start it had) and, with end, the working duration of [start, end) on its calendar; every other bound and dependency still applies. A manual task gets new manual dates instead: the new start and end, or the new start and its previous elapsed length; dates outside the range make the edited plan infeasible (range). Returns the new schedule and the tasks whose dates changed, or the failure of the edited plan (or of the unedited plan when only that fails). Editing an inactive, unknown or summary task throws an Error; edit the subtasks of a summary instead, and its rolled-up dates follow them in changes. The input is not modified.