Initial graph draw code added