Enhancing Tree and panel Graph Model

changes to master branch