Host Graph: clear function 

* add clear function.
* fix deleteNode