브랜치가 종료될 때 트리거됩니다
gantt.attachEvent("onTaskClosed", function(id) { alert(`id=${id}인 브랜치를 종료했습니다.`); });