deleteNode and deleteConnection added