completed - task : rewrite delete, update graphModel, then update the
tree structure, and reload the two tree models