Removes a task AND every edge into it, returning a NEW spec.
Severing the inbound edges is not a convenience — leaving them would produce a graph whose
dependsOn names a task that no longer exists, which the validator rejects as
UnknownDependency. Deleting a box on a canvas should not make the graph invalid.
Removes a task AND every edge into it, returning a NEW spec.
Severing the inbound edges is not a convenience — leaving them would produce a graph whose
dependsOnnames a task that no longer exists, which the validator rejects asUnknownDependency. Deleting a box on a canvas should not make the graph invalid.