Delete node: Remove()
1) Command:
//remove the task 222, and backward nodes will be caught up
pmb.Remove("222", true)
Parameters: (currentActivityCode, isCaughtUp)
Note: Delete the current node, and if the current node already has a subsequent node, you need to advance the subsequent node to the position of the currently deleted node, including re-adding the connection.
2) Graphical example after command execution: